Uptime Robot integration for Python
============
Uptime Robot http://uptimerobot.com integration for your Python project.
There is a Django version (https://github.com/arteria/django-uptimerobot) available containing the Uptime Robot API
implementation and the infrastructure stuff used by Djangonauts.
Installation
------------
To get the latest stable release from PyPi
.. code-block:: bash
$ pip install python-uptimerobot
To get the latest commit from GitHub
.. code-block:: bash
$ pip install -e git+git://github.com/arteria/python-uptimerobot.git#egg=uptimerobot
Usage
-----
Use with Python:
.. code-block:: python
>>> from uptimerobot.uptimerobot import UptimeRobot
>>> up = UptimeRobot(UPTIME_ROBOT_API_KEY)
>>> up.addMonitor("arteria-webpage", "https://www.arteria.ch/")
True
Use in Shell: (success if return value is 0, null)
.. code-block:: bash
cd /path/to/script/
chmod 755 uptimerobot.py # if necessary
./uptimerobot.py monitorFriendlyName=arteria-webpage monitorURL=https://www.arteria.ch/
History
-------
latest
0.1.4
- Extended API with `.editMonitor()`.
- Updated to use HTTPs by default.
0.1.3
- Extended API with `.deleteMonitorById()`.
0.1.1
- Extended API with `.getMonitors()`.
0.1.0
- Releveled version
0.0.7
- Python 3.x support
About the API
-------------
The full API is documented here: https://uptimerobot.com/api
============
Uptime Robot http://uptimerobot.com integration for your Python project.
There is a Django version (https://github.com/arteria/django-uptimerobot) available containing the Uptime Robot API
implementation and the infrastructure stuff used by Djangonauts.
Installation
------------
To get the latest stable release from PyPi
.. code-block:: bash
$ pip install python-uptimerobot
To get the latest commit from GitHub
.. code-block:: bash
$ pip install -e git+git://github.com/arteria/python-uptimerobot.git#egg=uptimerobot
Usage
-----
Use with Python:
.. code-block:: python
>>> from uptimerobot.uptimerobot import UptimeRobot
>>> up = UptimeRobot(UPTIME_ROBOT_API_KEY)
>>> up.addMonitor("arteria-webpage", "https://www.arteria.ch/")
True
Use in Shell: (success if return value is 0, null)
.. code-block:: bash
cd /path/to/script/
chmod 755 uptimerobot.py # if necessary
./uptimerobot.py monitorFriendlyName=arteria-webpage monitorURL=https://www.arteria.ch/
History
-------
latest
0.1.4
- Extended API with `.editMonitor()`.
- Updated to use HTTPs by default.
0.1.3
- Extended API with `.deleteMonitorById()`.
0.1.1
- Extended API with `.getMonitors()`.
0.1.0
- Releveled version
0.0.7
- Python 3.x support
About the API
-------------
The full API is documented here: https://uptimerobot.com/api
Metadata
Release files for python-uptimerobot 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-uptimerobot-0.1.5.tar.gz | 5.6 kB | Details |
Release files / python-uptimerobot-0.1.5.tar.gz
| Download URL | python-uptimerobot-0.1.5.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e5cfd9cd097f8239ccc731d71ad939832c21e546444c44605f0dd5a78ce7806
|
|
BLAKE2b-256 checksum How to use checksums |
edffbcc7b145be5a327a835b8a9cd020b7cfce1966356a836f8ccac77bb55493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |