Skip to main content

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.

Project description

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.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-uptimerobot-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file python-uptimerobot-0.1.1.tar.gz.

File metadata

File hashes

Hashes for python-uptimerobot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 735a45c8582da658afef0c27d8e20fb49c80c6d1ade2d1bc0d8fb1c5d2adb053
MD5 0ec742d3a5d6495503811be9b9f376a1
BLAKE2b-256 c81ebb2411c5a3b994bee96622dbfa433ba74f7c58f7d1c4a82692579c335d79

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page