Metadata-Version: 2.1
Name: pyuptimekuma
Version: 0.0.6
Summary: Simple Python wrapper for Uptime Kuma
Home-page: https://github.com/jayakornk/pyuptimekuma
Author: Jayakorn Karikan
Author-email: jayakornk@gmail.com
License: MIT License
Keywords: pyuptimekuma,setuptools
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp (<4.0,>=3.8.1)
Requires-Dist: prometheus-client (>=0.14.1)
Requires-Dist: cchardet (>=2.1.7)
Requires-Dist: aiodns (>=3.0.0)
Provides-Extra: dev
Requires-Dist: black (==22.3.0) ; extra == 'dev'
Requires-Dist: isort (==5.10.1) ; extra == 'dev'

# pyuptimekuma
Simple Python wrapper for Uptime Kuma

## Installation

```shell
python3 -m pip install pyuptimekuma
```

## Example

```python
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.

- [ludeeus/pyuptimerobot](https://github.com/ludeeus/pyuptimerobot)
- [meichthys/utptime_kuma_monitor](https://github.com/meichthys/utptime_kuma_monitor)
