Skip to main content

python wrapper for fireplan API

Project description

fireplan

Status

A python package around the public fireplan API.

Installation

pip install git+https://github.com/bouni/python-fireplan.git#egg=python-fireplan

Usage

Alarm

import fireplan

token = "ABCDEF...."

fp = fireplan.Fireplan(token)

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

fp.alarm(alarmdata)

Status

import fireplan

token = "ABCDEF...."

fp = fireplan.Fireplan(token)

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

fp.status(statusdata)

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.0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

python_fireplan-0.0.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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