Simple Python wrapper for Uptime Kuma
Project description
pyuptimekuma
Simple Python wrapper for Uptime Kuma
Installation
python3 -m pip install pyuptimekuma
Example
import asyncio
import aiohttp
from pyuptimekuma import UptimeKuma
URL = ""
USERNAME = ""
PASSWORD = ""
VERIFY_SSL = True
async def main():
async with aiohttp.ClientSession() as session:
uptime_robot_api = UptimeKuma(session, URL, USERNAME, PASSWORD, VERIFY_SSL)
response = await uptime_robot_api.async_get_monitors()
print(response.data)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Credit
I would like to give a special thanks to these repositories since a lot of code has been inspired by them.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyuptimekuma-0.0.6.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyuptimekuma-0.0.6.tar.gz.
File metadata
- Download URL: pyuptimekuma-0.0.6.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d1ac3ff6d87fc888b633f4cb9e3e6c48d8804d4c5661c6a94a3908324d5087
|
|
| MD5 |
f2ac546218d686543b7fbc1c1b0c5e3a
|
|
| BLAKE2b-256 |
a5b3a25816a9e58a90554bb2a26145803fe2b08fe406fd595eed91fb86679042
|
File details
Details for the file pyuptimekuma-0.0.6-py3-none-any.whl.
File metadata
- Download URL: pyuptimekuma-0.0.6-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23461de8c975e115d2da193c587f73d96bb8bc4bdd71ae519e7c7f8e5aa84003
|
|
| MD5 |
fd8aee9350818d3f9ff8f9f808111ab2
|
|
| BLAKE2b-256 |
50da685b1b1eb7eb004e15a2bc3ea02190e9305bf1f295fc778fbbe0dc87d4cd
|