/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Wolfram v. Hülsen * @copyright 2012 - 2022 * @license GPL [http://www.gnu.de] * @version 1.0 * * @title Tankerkönig * @category mobility * @icon icons/ws/scene_gas_station.svg * @color #b00 * @description Kraftstoffpreise aller Tankstellen in Deutschland * * @info Info und API Key unter * @link https://www.tankerkoenig.de/ * ----------------------------------------------------------------------------- */ {% extends "apps.html" %} {% block sidebar %}
Tankerkönig

Tankerkönig



{% if not config_tanker_key %}
API-Key fehlt. Kraftstoffpreise sind Beispielwerte.
Bitte beschaffen Sie einen API-Key und tragen ihn in der config.ini als "tanker_key" ein. {% endif %} {% if not config_tanker_location and (not config_weather_location or "lat" not in config_weather_location ) %}

Ortsangabe fehlt oder ist im falschen Format.
Bitte tragen Sie den Standort in der Form von "lat=123.456&lng=234.567" als Schlüssel "tanker_location" in die config.ini ein, oder verwenden Sie einen Wetterservice, der mit Geokoordinaten konfiguriert wird. {% endif %} {% endblock %} {% block content %}

Kraftstoffpreise

Stand: 


{% endblock %} /** aus Tankerkoenig API Doku: { "ok": true, "license": "CC BY 4.0 - https:\/\/creativecommons.tankerkoenig.de", "data": "MTS-K", "status": "ok", "stations": [ { Datentyp, Bedeutung "id": "474e5046-deaf-4f9b-9a32-9797b778f047", - UUID, eindeutige Tankstellen-ID "name": "TOTAL BERLIN", - String, Name "brand": "TOTAL", - String, Marke "street": "MARGARETE-SOMMER-STR.", - String, Straße "place": "BERLIN", - String, Ort "lat": 52.53083, - float, geographische Breite "lng": 13.440946, - float, geographische Länge "dist": 1.1, - float, Entfernung zum Suchstandort in km "diesel": 1.109, \ "e5": 1.339, - float, Spritpreise in Euro "e10": 1.319, / "isOpen": true, - boolean, true, wenn die Tanke zum Zeitpunkt der Abfrage offen hat, sonst false "houseNumber": "2", - String, Hausnummer "postCode": 10407 - integer, PLZ }, ... weitere Tankstellen ] } */