diff options
| author | Ben Burwell <github@benburwell.com> | 2016-01-12 18:27:54 -0500 | 
|---|---|---|
| committer | Ben Burwell <github@benburwell.com> | 2016-01-12 18:27:54 -0500 | 
| commit | 1afea8fece81d6311b40509bf51a853ae946764c (patch) | |
| tree | b1753847741e4919acadc8ea59742a417283c626 /README.md | |
| parent | 1a4a8c5e8dbb1e2d3b3da87e82cfe734537a503b (diff) | |
| parent | ec7575f4dc3c52c7a5bb8b5f482f6a3664abfd2d (diff) | |
Merge pull request #4 from benburwell/alert-filteringv1.1.0
Add support for alert_days and alert_minutes parameters
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -32,7 +32,9 @@ The following public API methods are available:  * `getAgency()`  * `getDevice(device_id)` -* `getAlerts()` +* `getAlerts({ alert_days: 1, alert_minutes: 30 })`, where the object parameter +  is optional. You should not use both keys; if `alert_minutes` is provided, it +  will override `alert_days` as documented [on the wiki](http://wiki.active911.com/wiki/index.php/Accessing_the_API#Alerts).  * `getDeviceAlerts(device_id)`  * `getAlert(alert_id)`  * `getLocations()` | 
