python-uptimerobot
python-uptimerobot copied to clipboard
Feature: IterMonitors for paginated monitors
Allows iterating all the monitors, regardless of the getMonitors limit, which defaults to 50.
IterMonitors is a Python generator. The API calls are done on demand, using Python yield. Thus preventing more calls than needed.
Adds options 'offset' and 'limit' to getMonitors in order to implement the pagination.