Simple Python wrapper for Uptime Kuma
- Full Documentation: https://tr4nt0r.github.io/pythonkuma
- Source Code: https://github.com/tr4nt0r/pythonkuma
pip install pythonkuma
import asyncio
import aiohttp
from pythonkuma import UptimeKuma
URL = "https://uptime.exampe.com"
API_KEY = "api_key"
async def main():
async with aiohttp.ClientSession() as session:
uptime_kuma = UptimeKuma(session, URL, API_KEY)
response = await uptime_kuma.metrics()
print(response)
asyncio.run(main())
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.
Make sure to follow the contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project useful, consider buying me a coffee ☕ or sponsoring me on GitHub!
This library is a fork of pyuptimekuma by @jayakornk