ex_uptimerobot v0.1.0 ExUptimerobot.Monitor
Interact with Monitor-related API methods.
Summary
Functions
Get data for all monitors, or a set of monitors as specified by params. Full documentation for all possible parameters can be found from https://uptimerobot.com/api
Check if a given URL is being monitored
Returns {:ok, values}
where values
is a list of each values for given key
per project
Add a new monitor with given parameters
Functions
Get data for all monitors, or a set of monitors as specified by params. Full documentation for all possible parameters can be found from https://uptimerobot.com/api.
Example
iex> ExUptimerobot.Monitor.get_monitors() {:ok, %{“monitors” => [%{“create_datetime” => 0, “friendly_name” => “Elixir Lang”}]}
Check if a given URL is being monitored.