python wrapper for fireplan API
Project description
fireplan
A python package around the public fireplan API.
Installation
pip install python-fireplan
Usage
Alarm
import fireplan
# Fireplan Registration ID
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = fireplan.Fireplan(secret, division)
alarmdata = {
"alarmtext": "",
"einsatznrlst": "",
"strasse": "",
"hausnummer": "",
"ort": "",
"ortsteil": "",
"objektname": "",
"koordinaten": "",
"einsatzstichwort": "",
"zusatzinfo": "",
"sonstiges1": "",
"sonstiges2": "",
"RIC": "",
"SubRIC": ""
}
fp.alarm(alarmdata)
Status
import fireplan
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = fireplan.Fireplan(secret, division)
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.1.4.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for python_fireplan-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13b25c331dcc94e77973f7f9a53bfb4aac84d790a7db55ff7b258253bfa9402 |
|
MD5 | e7577916e732f11d02c32196bf7a0542 |
|
BLAKE2b-256 | 12c0f88a9b0d9cc59438eaeec9a231c70f01dd0ffa06c4fb236ac5712023fd28 |