minor changes
This commit is contained in:
parent
963adf8617
commit
91ac253623
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue