MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Search - Module for fuel-prices

    Scheduled Pinned Locked Moved Requests
    9 Posts 5 Posters 3.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bjoern
      last edited by

      Hallo,

      i’m seeking a module for display of the current fuel-prices. i can’t find.

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        A related question would be: where do you find such information (on current fuel prices)? Is it by region? By city? By neighborhood?

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • B Offline
          bjoern
          last edited by

          you can find it by http://www.tankerkoenig.de/. by city-code.

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            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.

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • B Offline
              bjoern
              last edited by

              yes… the API can you find here
              https://creativecommons.tankerkoenig.de/

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                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.” :)

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @bjoern
                  last edited by

                  @bjoern sounds like a great module idea, if you want I can assist you with that

                  Please create a github issue if you need help, so I can keep track

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    WeedWood @strawberry 3.141
                    last edited by

                    @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 ;)

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      astronauti
                      last edited by

                      Its already a while ago but here is one
                      https://forum.magicmirror.builders/topic/606/mmm-fuel/2
                      also works with the tankerkoenig api.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy