Read the statement by Michael Teeuw here.
Search - Module for fuel-prices
-
Hallo,
i’m seeking a module for display of the current fuel-prices. i can’t find.
-
A related question would be: where do you find such information (on current fuel prices)? Is it by region? By city? By neighborhood?
-
you can find it by http://www.tankerkoenig.de/. by city-code.
-
Right, is there an API for that web site, that you know of? Otherwise it gets really tricky, if not rather difficult to extract any information remotely.
-
yes… the API can you find here
https://creativecommons.tankerkoenig.de/ -
Then there really is no reason that you yourself can’t do this. I don’t understand German but there are others who do. Looking at the Demo page however, the data returned is standard JSON, and it’s in English. There’s a Documentation page that explains how to make the calls, and what to expect back. Start somewhere: look at how some of the current (default) modules do external calls, such as the weather module. Then go from there. Saying you don’t know how to code Javascript is fine, however I’m more impressed if you also added, “I want to learn how.” :)
-
@bjoern sounds like a great module idea, if you want I can assist you with that
-
@strawberry-3.141 https://dracarysdiy.com/smart-mirror-4-1-die-apis/comment-page-4/
Er hat es bereits in seinem MagicMirror. Kann man vlt n bisschen was kopieren ;) -
Its already a while ago but here is one
https://forum.magicmirror.builders/topic/606/mmm-fuel/2
also works with the tankerkoenig api.