Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
feuersoftware-0.0.7-py3-none-any.whl (3.5 kB) Copy SHA256 hash SHA256 Wheel py3
feuersoftware-0.0.7.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page