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",
status="new",
alarm_enabled=True,
address="Musterweg 4, 12345 Entenhausen",
position={"latitude":"47.592127",·"longitude":"8.296870"},
facts="Küchenbrand",
ric="10B",
number=54321,
properties=[{"key":"Fettbrand":"value":"Nein"},{"key":"Noch Personen im Gebäude","value":"Ja"}],
updateStrategy="none"
)
api.send()
# Fahzeug Status setzen
api.vehicle_status(
radioid=12345678,
status=2,
position={"latitude":"47.592127",·"longitude":"8.296870"}):
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.7.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for feuersoftware-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0828b23f69ca3b69f5b8496795650302b2c3c64ad8a0b1f08653f1f35fd41d6a |
|
MD5 | 077db6db2e6e8d9ae23910fc0a21f41b |
|
BLAKE2b-256 | e9b4ea32051dd3f2f6c06f381cb0e86b912aa69ccc214f66a02133108e913a7c |