Missing import

This commit is contained in:
Patrick Hagan 2024-03-03 15:52:24 -08:00 committed by GitHub
parent 22ca1813ff
commit 17ef425ffb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",