A Feuersoftware public API implementation
Project description
feuersoftware
feuersoftware is a library that allow you to interact with the Feuersoftware Connect Public API.
Example
from feuersoftware import PublicAPI
TOKEN = ""
with open("token.txt") as f:
TOKEN = f.read().strip()
api = PublicAPI(token=TOKEN)
# Einsatz auslösen
api.operation(
start="2018-08.30T08:00:00",
keyword="Brand",
address="Musterweg 4, 12345 Entenhausen",
position="47.616239,9.3392483",
facts="Küchenbrand",
ric="10B",
properties=[{"key":"Fettbrand":"value":"Nein"},{"Noch Personen im Gebäude","Ja"}],
updateStrategy="none"
)
api.send()
# Fahzeug Status setzen
api.vehicle_status(
radioid="12345678",
status=2,
position="47.616239,9.3392483"):
api.send()
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
feuersoftware-0.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for feuersoftware-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a2eed0bc566cec512054e06ccfc2bdf3523df3a946ea0c6cdbfd24ead4a22c |
|
MD5 | 2bae0e3b4375984dd47262e0c90efe07 |
|
BLAKE2b-256 | 4fea4bb030ba991bbeba47baad43641aa8de1e54211b727e37aed801917e354b |