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.5.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for feuersoftware-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4b40f9f19840722b613cc0be34144d4ca2bf82f6362c4f3d6fc5df7d1d71cb |
|
MD5 | c5c3eac04b543c14021219208ac75206 |
|
BLAKE2b-256 | 48d61d85b7775e2409e9bc31c9971f9e619d20847ffb1b47bb0887fe38a79a78 |