Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

feuersoftware-0.0.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file feuersoftware-0.0.5.tar.gz.

File metadata

  • Download URL: feuersoftware-0.0.5.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for feuersoftware-0.0.5.tar.gz
Algorithm Hash digest
SHA256 dced2667fc808061d8a5fd1b167eee77632e17d6437d99f679d7d298639b203a
MD5 9661e9009830da5b0b477e05b5d032ef
BLAKE2b-256 9de3c7ba4dc6bf8d945413ffe240689e3604c7cf747ae1f7bb8d6c8f07da0113

See more details on using hashes here.

File details

Details for the file feuersoftware-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: feuersoftware-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for feuersoftware-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4b40f9f19840722b613cc0be34144d4ca2bf82f6362c4f3d6fc5df7d1d71cb
MD5 c5c3eac04b543c14021219208ac75206
BLAKE2b-256 48d61d85b7775e2409e9bc31c9971f9e619d20847ffb1b47bb0887fe38a79a78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page