Skip to main content

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


Download files

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

Source Distribution

pyuptimekuma_hass-0.0.6.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

pyuptimekuma_hass-0.0.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pyuptimekuma_hass-0.0.6.tar.gz.

File metadata

  • Download URL: pyuptimekuma_hass-0.0.6.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pyuptimekuma_hass-0.0.6.tar.gz
Algorithm Hash digest
SHA256 62dd00302d153e4a3d7beb07fdb7452c3e58066abf97a9f3d72a7e4ca9d094fe
MD5 60124b2f51b5ab64e5219a612b09d678
BLAKE2b-256 92dc51e9653d80032ccda5ee3dd820cf105cd4fe4bfde8007facac63733ea607

See more details on using hashes here.

File details

Details for the file pyuptimekuma_hass-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pyuptimekuma_hass-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e416066911b7a108b210fa5291a8cdb3c5d6ede0e0c10374642d8987180b47
MD5 d2d4e46bc6c25799ed12ef63ca8852fd
BLAKE2b-256 32d2d41c3b35a1aa63fefd869dee61ed85390ab46b19579804e62ba85417e8df

See more details on using hashes here.

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