minor changes

This commit is contained in:
lucasheld 2022-07-10 21:58:42 +02:00
parent 963adf8617
commit 91ac253623

View file

@ -21,10 +21,9 @@ Once you have installed the python package, you can use it to communicate with a
To do so, import `UptimeKumaApi` from the library and specify the Uptime Kuma server url, username and password to initialize the connection.
```python
from uptime_kuma_api import UptimeKumaApi
api = UptimeKumaApi('INSERT_URL')
api.login('INSERT_USERNAME', 'INSERT_PASSWORD')
>>> from uptime_kuma_api import UptimeKumaApi
>>> api = UptimeKumaApi('INSERT_URL')
>>> api.login('INSERT_USERNAME', 'INSERT_PASSWORD')
```
Now you can call one of the existing methods of the instance. For example create a new monitor: