EA2D/pingdom-python — pull request #6 by ojarva (2012-03-22 12:03:30+00:00)
Title: Added get_alerts and get_check_averages

**get_alerts** gets list of actions (alerts): http://www.pingdom.com/services/api-documentation-rest/#MethodGet+Actions+%28Alerts%29+List

Supports following parameters:

* from: "Only include actions generated later than this timestamp."
* to: "Only include actions generated prior to this timestamp."
* limit: "Limits the number of returned results to the specified quantity."
* offset: "Offset for listing."

**get_check_averages** gets check uptime and response time averages: http://www.pingdom.com/services/api-documentation-rest/#MethodGet+A+Response+Time+%2F+Uptime+Average

Supports following parameters:

* checkid: id for check (mandatory)
* from: "Start time of period."
* to: "End time of period."