Observed since 20 Oct, 18:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python bindings for active911 API
via pip
pip install active911-python
Manual Installation
Download release and install by:
python setup.py install
Import Package
import active_911
Initialize class
client = active_911.Active911Client(access_token='Enter Access Token Here')
Environment Variable Support
If access_token is not passed you can set ACTIVE911_ACCESS_TOKEN as the environment variable.
get_agency()
This function will return the authorized agency and is considered the root of the API.
get_device_info(device_id=None)
This function will return detailed device information.
get_device_alerts(device_id=None, alert_days=None, alert_minutes=None)
This function will return agency alerts by device. Number of alerts can be set by alert_days(default:10 Max:30) or alert_minutes, alert_minutes supersedes alert_days if set.
get_alerts(alert_days=None, alert_minutes=None)
Returns agency alerts. Number of alerts can be set by alert_days(default:10 Max:30) or alert_minutes, alert_minutes supersedes alert_days if set.
get_alert_detail(alert_id=None)
Returns alert detail by alert_id.
get_locations(locations_page=None, locations_per_page=None)
Returns all map data locations.
get_location_detail(location_id)
Returns location point detail
get_resource_detail(resource_id)
Returns location point resource detail
Full OAUTH scope is required for proper functionality.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.5 | 9 Apr 2021 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:de5ab7512cf90a8c245c47fe41be01005a370db83d15b444ea7904ab6be3f81f