Skip to main content

Simple Python wrapper for Uptime Kuma

Project description

pythonkuma

Simple Python wrapper for Uptime Kuma

Installation

pip install pythonkuma

Example

import asyncio

import aiohttp

from pythonkuma import UptimeKuma

URL = ""
USERNAME = ""
PASSWORD = ""


async def main():

    async with aiohttp.ClientSession() as session:
        uptime_kuma = UptimeKuma(session, URL, USERNAME, PASSWORD)
        response = await uptime_kuma.async_get_monitors()
        print(response.data)


asyncio.run(main())

Credit

This library is a fork of pyuptimekuma by @jayakornk

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

pythonkuma-0.0.0rc1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonkuma-0.0.0rc1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pythonkuma-0.0.0rc1.tar.gz.

File metadata

  • Download URL: pythonkuma-0.0.0rc1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pythonkuma-0.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 cee8d48fb01e2d4e6b80d0f6e386cb4de6ea834925aa3f9c0d4b2bfa43435d9e
MD5 b14c5fe2cd795441e396e06a96258113
BLAKE2b-256 1f9f7920b70ef2986a03a5b47b38eb82bd080b000bd181c1bc825abc6165f86d

See more details on using hashes here.

File details

Details for the file pythonkuma-0.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonkuma-0.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 38d124882d2ef9ade2cb3f7cbcf2eacfa5f9ee3a0d064982a5d4f3d12995cbe9
MD5 ba1b738ccf8bff9a268d1b0121e2cc88
BLAKE2b-256 cab093d09d3d515dfa6ee867e6c7d4684638a0b099d440cd9dfc9aef7c5403a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page