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.0rc2.tar.gz (5.3 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.0rc2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pythonkuma-0.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 53639c64bff60d9aaccdcf23d0a1e13c237783d5edf6839774556aded366a675
MD5 dfac39dac2723c4d0c142e6e3399a251
BLAKE2b-256 0c04e0d5674600a149398b20cf9ad778ab30d2150f3296955c043d044081d8fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pythonkuma-0.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 b767ec46671217796a6a9945d5c07ac847652bf64b024aab4b9360ef85aa936f
MD5 81f82928d215f9a5ed1e200284bb80fd
BLAKE2b-256 59c0bac5ebef64359ee376bcace4b8f5f5eea7f5309a705fcc482f28bef9232a

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