A python package for the public fireplan API.
Project description
python-fireplan
Ein Python Modul um die Öffentliche fireplan API.
Installation
pip install python-fireplan
Verwendung
-
API-Key in Fireplan erzeugen
-
Einen Standort Registrieren
from fireplan import Fireplan
fp = Fireplan("Mein-API-Key")
fp.register("Mein-Standort")
Alarm senden
fp.send_alarm({
"ric": "1234567",
"subRIC": "A",
"einsatznrlst": "20250429001",
"strasse": "Musterstrasse",
"hausnummer": "23",
"ort": "Musterhausen",
"ortsteil": "Musterteil",
"objektname": "Schule",
"koordinaten": "48.6928957,9.1928973",
"einsatzstichwort": "Probealarm",
"zusatzinfo": "Was ist denn da los?"
})
Einsatzliste abrufen
operations = fp.get_operations_list(2024)
Einsatztagebuch abrufen
logs = fp.get_operations_log("123456","Mein-Standort")
Einsatztagebuch Eintrag anlegen
fp.add_operations_log({
"id": 2025015,
"einsatzNrLeitstelle": "20250429001",
"tagebuchText": "Mein Text",
"von": "Max Meier",
"an": "Herbert Müller",
"standort": "Grossbrand Fa. Heinrich",
"typ": "Info",
"timestamp": "2025-04-29T14:04:25.459Z"
})
FMS Status senden
fp.set_fms_status({
"fzKennung": "1234567",
"status": "2",
"statusTime": "2025-04-29T14:08:22.030Z"
})
[!NOTE]
fzKennung korrespondiert mit der Spalte FZRIC unter Administration -> Optionen -> Fahrzeuge
Kalender abrufen
calendar = fp.get_calendar()
Inbound SMS
[!IMPORTANT]
Dieser API Endpoint ist momentan noch nicht implementiert.
Sonstige Dienste abrufen
other_services = fp.get_other_services(2024)
Termine abrufen
events = fp.get_events(1)
[!NOTE]
Die Kalendernummer die übergeben werden muss kann über den API Endpoint get_calendar() herausgefunden werden.
Termin anlegen
fp.add_event({
"startDate": "2025-04-28T14:08:22.030Z",
"endDate": "2025-04-29T14:08:22.030Z",
"allDay": True,
"subject": "Papiersammlung",
"location": "Gerätehaus",
"description": "Halbjährliche Papiersammlung",
"jahr": "2025",
"monat": "04",
"kalenderID": 15
})
[!NOTE]
Die KalenderID die übergeben werden muss kann über den API Endpoint get_calendar() herausgefunden werden.
Testing
uv run pytest
Notice of Non-Affiliation and Disclaimer
We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Fireplan, or any of its subsidiaries or its affiliates. The official Fireplan website can be found at https://www.fireplan.de.
The name Fireplan as well as related names, marks, emblems and images are registered trademarks of their respective owners.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_fireplan-0.3.3.tar.gz.
File metadata
- Download URL: python_fireplan-0.3.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d82ffdb58c768fcfd5c8445faa0d7d0bb14a7febe37a474d0edfaa26017322e
|
|
| MD5 |
52c59e572cee1d500f4e3f39841eea4e
|
|
| BLAKE2b-256 |
9186d7f0dd377fb63cf8f705858716e6391adf9ff0db8bcf72cd7b342a26a6fc
|
Provenance
The following attestation bundles were made for python_fireplan-0.3.3.tar.gz:
Publisher:
publish-to-pypi.yml on Bouni/python-fireplan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_fireplan-0.3.3.tar.gz -
Subject digest:
2d82ffdb58c768fcfd5c8445faa0d7d0bb14a7febe37a474d0edfaa26017322e - Sigstore transparency entry: 846047162
- Sigstore integration time:
-
Permalink:
Bouni/python-fireplan@451ba7d6845baecfd520fc585295a87464b5b21a -
Branch / Tag:
refs/tags/0.3.3 - Owner: https://github.com/Bouni
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@451ba7d6845baecfd520fc585295a87464b5b21a -
Trigger Event:
release
-
Statement type:
File details
Details for the file python_fireplan-0.3.3-py3-none-any.whl.
File metadata
- Download URL: python_fireplan-0.3.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86da6bbb9f1688a9daa7b9768dbdcd226a33794dd03e91187d753540cfa67876
|
|
| MD5 |
8f06bb8450f1fe50c7e387d67f7d9268
|
|
| BLAKE2b-256 |
563d2a3817072fac686b149abb618132815fb71a31ba4d0610ee91d1e14115d2
|
Provenance
The following attestation bundles were made for python_fireplan-0.3.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Bouni/python-fireplan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_fireplan-0.3.3-py3-none-any.whl -
Subject digest:
86da6bbb9f1688a9daa7b9768dbdcd226a33794dd03e91187d753540cfa67876 - Sigstore transparency entry: 846047166
- Sigstore integration time:
-
Permalink:
Bouni/python-fireplan@451ba7d6845baecfd520fc585295a87464b5b21a -
Branch / Tag:
refs/tags/0.3.3 - Owner: https://github.com/Bouni
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@451ba7d6845baecfd520fc585295a87464b5b21a -
Trigger Event:
release
-
Statement type: