Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Search - Module for fuel-prices

    Requests
    5
    9
    2866
    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
      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
      • KirAsh4
        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?

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

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

          1 Reply Last reply Reply Quote 0
          • KirAsh4
            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.

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

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

              strawberry 3.141 1 Reply Last reply Reply Quote 0
              • KirAsh4
                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.” 🙂

                1 Reply Last reply Reply Quote 0
                • strawberry 3.141
                  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

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    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
                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy