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.0rc0.tar.gz (5.1 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.0rc0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pythonkuma-0.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 ad722acb24830d9115eea143e423b62b4cf825bfa52e11e3845902d99a4df9e5
MD5 21f9f2f8a57aaa354340209297e00a46
BLAKE2b-256 1bd216d66e6d66370e267f1a90f454d1d3d5864014f5091cc2c02c1529ab3740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pythonkuma-0.0.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 c155e9bf5181f3cd5711ed0423c788b363dd9b5870964cb9792a24bb9986d883
MD5 bfa1c39f64179505407e5ae562cde331
BLAKE2b-256 8570a111ea8cb68f1a2a7e83660c32e44e0a2c24d4a514434a0969a2514f3127

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