A python package for the public fireplan API.
Project description
fireplan
A python package around the public fireplan API.
Installation
pip install python-fireplan
Usage
Alarm
from fireplan import Fireplan
# Fireplan Registration ID
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = Fireplan(secret, division)
alarmdata = {
"alarmtext": "",
"einsatznrlst": "",
"strasse": "",
"hausnummer": "",
"ort": "",
"ortsteil": "",
"objektname": "",
"koordinaten": "",
"einsatzstichwort": "",
"zusatzinfo": "",
"sonstiges1": "",
"sonstiges2": "",
"RIC": "",
"SubRIC": ""
}
fp.alarm(alarmdata)
Status
from fireplan import Fireplan
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = Fireplan(secret, division)
statusdata = {
"FZKennung": "40225588996",
"Status": "3"
}
fp.status(statusdata)
Testing
source .venv/bin/activate # activate venv
python -m pytest # run tests
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.2.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for python_fireplan-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccffccbd536c9bb2670f215c5017aef3e3190b7625cbdb6a4cd65171da187b56 |
|
MD5 | c1b46f65f61060e6327c0c591271dc5d |
|
BLAKE2b-256 | ba0a5542a9b4d40efb2fc9ba72d4f91e80d06e0244300555f58db88b8d288184 |