cguillerminet / betteruptime-python

BetterUptime API client
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Documentation missing #5

Open Haribo112 opened 2 years ago

Haribo112 commented 2 years ago

Could you please provide documentation on how to use the 'create' functions?

cguillerminet commented 1 year ago

Hi,

You only need to provide the payload. To create a monitor, one can use :

client.monitors.create( payload={ "monitor_type": "status", "url": "https://www.my.site", ... } )

See https://betterstack.com/docs/uptime/api/ for BetterUptime API documentation.

mvdbergiwink commented 1 year ago

You can also try BetterStack-uptime, which does have documentation.