Simple Python wrapper for Uptime Kuma
- Full Documentation: https://tr4nt0r.github.io/pythonkuma
- Source Code: https://github.com/tr4nt0r/pythonkuma
pip install pythonkumaimportasyncioimportaiohttpfrompythonkumaimportUptimeKumaURL="https://uptime.exampe.com"API_KEY="api_key"asyncdefmain():
asyncwithaiohttp.ClientSession() assession:
uptime_kuma=UptimeKuma(session, URL, API_KEY)
response=awaituptime_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