python wrapper for fireplan API
Project description
fireplan
A python package around the public fireplan API.
Installation
pip install git+https://github.com/bouni/python-fireplan.git#egg=python-fireplan
Usage
Alarm
import fireplan
token = "ABCDEF...."
fp = fireplan.Fireplan(token)
alarmdata = {
"alarmtext": "",
"einsatznrlst": "",
"strasse": "",
"hausnummer": "",
"ort": "",
"ortsteil": "",
"objektname": "",
"koordinaten": "",
"einsatzstichwort": "",
"zusatzinfo": "",
"sonstiges1": "",
"sonstiges2": "",
"RIC": "",
"SubRIC": ""
}
fp.alarm(alarmdata)
Status
import fireplan
token = "ABCDEF...."
fp = fireplan.Fireplan(token)
statusdata = {
"FZKennung": "40225588996",
"Status": "3"
}
fp.status(statusdata)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-fireplan-0.0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for python_fireplan-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498da07696bc68a72f2b85d8db33ab5cf455143a6c6acf3956f8552cff3d1eab |
|
MD5 | 2af3e0828e0a3dd2552ec577f24ab310 |
|
BLAKE2b-256 | ae8536009e85c18a18c7cfd57cd25e61f2446e6f14f4e36b7405748fff8b7cbf |