Missing import
This commit is contained in:
parent
22ca1813ff
commit
17ef425ffb
1 changed files with 1 additions and 0 deletions
|
@ -416,6 +416,7 @@ class UptimeKumaApi(object):
|
||||||
|
|
||||||
Now you can call one of the existing methods of the instance. For example create a new monitor:
|
Now you can call one of the existing methods of the instance. For example create a new monitor:
|
||||||
|
|
||||||
|
>>> from uptime_kuma_api import MonitorType
|
||||||
>>> api.add_monitor(
|
>>> api.add_monitor(
|
||||||
... type=MonitorType.HTTP,
|
... type=MonitorType.HTTP,
|
||||||
... name="Google",
|
... name="Google",
|
||||||
|
|
Loading…
Reference in a new issue