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
Built Distribution
Close
Hashes for pyuptimekuma_hass-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e416066911b7a108b210fa5291a8cdb3c5d6ede0e0c10374642d8987180b47 |
|
MD5 | d2d4e46bc6c25799ed12ef63ca8852fd |
|
BLAKE2b-256 | 32d2d41c3b35a1aa63fefd869dee61ed85390ab46b19579804e62ba85417e8df |