python-uptimerobot icon indicating copy to clipboard operation
python-uptimerobot copied to clipboard

Feature: IterMonitors for paginated monitors

Open manuq opened this issue 9 years ago • 0 comments

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.

manuq avatar Sep 14 '16 19:09 manuq