1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Active911 Python Bindings
Install
via pip
pip install active911-python
Manual Installation
Download release and install by:
python setup.py install
Setup / Initialize
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.
Available Methods:
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
Important Notes:
Full OAUTH scope is required for proper functionality.
- read_agency Allows read-only access to this agency's information (Name, Address etc).
- read_alert Allows read-only access to all alerts in the agency.
- read_response Allows read-only access to responses to all alerts in the agency.0
- read_device Allows read-only access to all device information in the agency.
- read_mapdata Allows read-only access to all locations and resources in the agency.
- write_mapdata Allows creation of locations and resources for the agency.
TODOS:
- Add POST request support for mapping locations.
- Support locations_coordinate_window
Metadata
Release files for active911-python 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| active911_python-0.0.5.tar.gz | 15.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| active911_python-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
| active911_python-0.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 46.5 kB
Release files / active911_python-0.0.5.tar.gz
| Download URL | active911_python-0.0.5.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41aceaa49c5b5d898ae66fe90f59c4eb2d24df1860783ff2f81020f304489b8b
|
|
BLAKE2b-256 checksum How to use checksums |
a72e1e91d0891d63b6ce8afc0c1d1b34cac96d07490762ec6a4512009b07aa83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / active911_python-0.0.5-py3-none-any.whl
| Download URL | active911_python-0.0.5-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31ff363cf203b82ea86cfd97485c28165bc9180c9e1f1c549b50efe93a7f4fda
|
|
BLAKE2b-256 checksum How to use checksums |
516ed612c55b8217dff5e1a25feb480569447b922d53305156514961f78c9813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / active911_python-0.0.5-py2.py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | active911_python-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
13a356f22abd08d3bd114f00d7d09ca146b99522e11efa2f1e1ae414f513b140
|
|
BLAKE2b-256 checksum How to use checksums |
6cd3e54dcb503f909c5974ab288b4b3518c77fffefe3bb567b5ebc8b8baaf9b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6
|
Security for active911-python 0.0.5
Upload timing
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.