UptimeRobotPy
This is a simple library to implement easy interaction with the UptimeRobot API.
Getting Started
The latest stable release is available from Pypi:
pip install uptimerobotpy
Otherwise you can install from git:
pip install git+https://github.com/jpavlav/UptimeRobotPy.git
Usage
from uptimerobotpy import UptimeRobot
up_robot = UptimeRobot(api_key=UPTIMEROBOT_API_KEY)
monitors = up_robot.get_monitors()
for monitor in monitors['monitors']:
print(monitor)
If no api_key is passed during instantiation, we try to handle this by creating a config file (~/.uptimerobot.ini) to read from:
from uptimerobotpy import UptimeRobot
up_robot = UptimeRobot()
Enter UptimeRobot API key: XXXXXXXXXXXXXXXX
The config file .uptimerobot.ini (see example.uptimerobot.ini above) is formatted as follows and can be created preemptively in your home directory if you wish:
[UPTIMEROBOT]
api_key = XXXXXXXXXXXXXXXX
Prerequisites
Python3
Built With
- Python3 - Beautiful language.
Authors
- Justin Palmer - Urrverything - Me
Acknowledgments
Metadata
Release files for uptimerobotpy 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 | Provenance | |
|---|---|---|---|---|
| uptimerobotpy-0.1.5.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uptimerobotpy-0.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.2 kB
Release files / uptimerobotpy-0.1.5.tar.gz
| Download URL | uptimerobotpy-0.1.5.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59e648baca3862a45047cf0a16c714aaf1fbfc7fbc7fc27d36fb66d7e30e7ab8
|
|
BLAKE2b-256 checksum How to use checksums |
8de7629a68feeca099ed3d6d76697a6d28ec96126698597398fe7b791d2820d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / uptimerobotpy-0.1.5-py2.py3-none-any.whl
| Download URL | uptimerobotpy-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
251e1918498b1eb33f16af213ca4bc6fdd63b3925973cd056197f2333eddb603
|
|
BLAKE2b-256 checksum How to use checksums |
a0ad59d4cf3890b9a83f0a950c30d6b1a4af6b8e6512e5b2876bd9ac77e3b1ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for uptimerobotpy 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.