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-0.0.6.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for pyuptimekuma-0.0.6.tar.gz
Algorithm Hash digest
SHA256 73d1ac3ff6d87fc888b633f4cb9e3e6c48d8804d4c5661c6a94a3908324d5087
MD5 f2ac546218d686543b7fbc1c1b0c5e3a
BLAKE2b-256 a5b3a25816a9e58a90554bb2a26145803fe2b08fe406fd595eed91fb86679042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuptimekuma-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 23461de8c975e115d2da193c587f73d96bb8bc4bdd71ae519e7c7f8e5aa84003
MD5 fd8aee9350818d3f9ff8f9f808111ab2
BLAKE2b-256 50da685b1b1eb7eb004e15a2bc3ea02190e9305bf1f295fc778fbbe0dc87d4cd

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