Skip to main content

A python package for the public fireplan API.

Project description

fireplan

Status

A python package around the public fireplan API.

Installation

pip install python-fireplan

Usage

Alarm

from fireplan import Fireplan

# Fireplan Registration ID
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"

fp = Fireplan(secret, division)

alarmdata =  {
    "alarmtext": "",
    "einsatznrlst": "",
    "strasse": "",
    "hausnummer": "",
    "ort": "",
    "ortsteil": "",
    "objektname": "",
    "koordinaten": "",
    "einsatzstichwort": "",
    "zusatzinfo": "",
    "sonstiges1": "",
    "sonstiges2": "",
    "RIC": "",
    "SubRIC": ""
}

fp.alarm(alarmdata)

Status

from fireplan import Fireplan

secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"

fp = Fireplan(secret, division)

statusdata = {
    "FZKennung": "40225588996", 
    "Status": "3"
}

fp.status(statusdata)

Testing

source .venv/bin/activate # activate venv

python -m pytest # run tests

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

python_fireplan-0.2.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

python_fireplan-0.2.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file python_fireplan-0.2.1.tar.gz.

File metadata

  • Download URL: python_fireplan-0.2.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for python_fireplan-0.2.1.tar.gz
Algorithm Hash digest
SHA256 db80e866db04d498505714f005215e994e2460729de7121b7cb6450fbe78275a
MD5 87e6bfcd16e6a80f051b944959d9f3eb
BLAKE2b-256 c943ae99aeb4e74612eabe3ceb3fd9643de7ada3294dfbd7a2b46d746e808d80

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_fireplan-0.2.1.tar.gz:

Publisher: publish-to-pypi.yml on Bouni/python-fireplan

Attestations:

File details

Details for the file python_fireplan-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_fireplan-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccffccbd536c9bb2670f215c5017aef3e3190b7625cbdb6a4cd65171da187b56
MD5 c1b46f65f61060e6327c0c591271dc5d
BLAKE2b-256 ba0a5542a9b4d40efb2fc9ba72d4f91e80d06e0244300555f58db88b8d288184

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_fireplan-0.2.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Bouni/python-fireplan

Attestations:

Supported by

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