Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-BrawlStars

    Fun & Games
    5
    12
    628
    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.
    • R
      retroflex Project Sponsor Module Developer last edited by

      Description

      Shows stats (level, trophies and victories) for players of mobile game Brawl Stars.

      Screenshot

      0_1557432879259_6742816b-68c8-4b3d-836a-9cc5e9ebed62-image.png

      Download

      https://github.com/retroflex/MMM-BrawlStars

      1 Reply Last reply Reply Quote 0
      • L
        leanro last edited by

        @retroflex Is this module still working? I put everything in place and used your sample config (with my API-key) but is says permanently “Loading…”
        Would be fun to have i running!

        R 1 Reply Last reply Reply Quote 0
        • R
          retroflex Project Sponsor Module Developer last edited by

          @leanro I haven’t tested it in ages and indeed it seems it has broken. The API the module used has removed support for getting stats from a certain player. Instead it points to the official API: https://developer.brawlstars.com/

          That API can more or less do the same, but there is one caveat: you have to enter your public IP address when creating an API key. And since that changes for most people, it is not ideal. Maybe there is another API that can be used… I haven’t searched for it.

          Anyway, I will not spend time on the module since I don’t use it anymore. But you are more than welcome to look into it. There are two options I can think of. 1) find another API or 2) use the official API with the problem that it breaks when your IP address changes.

          1 Reply Last reply Reply Quote 0
          • R
            retroflex Project Sponsor Module Developer @leanro last edited by

            @leanro Ok, checked my repo now and someone had reported this before and even made a pull request. I’d completely missed that. But now it is merged. So please update the module and try again. Let me know whether it works.

            1 Reply Last reply Reply Quote 0
            • M
              MathieuGery last edited by

              Hey that won’t work anymore since the unofficial api don’t support those routes. I’m working on with the official api and i will make a pull request when i have time. But i think there is no problem with the ip if you host your magic mirror at home, just enter your public ip adress and it doesn’t change.

              bhepler 1 Reply Last reply Reply Quote 0
              • bhepler
                bhepler Project Sponsor @MathieuGery last edited by

                @MathieuGery - Correction: Your public IP address doesn’t change very often.

                M 1 Reply Last reply Reply Quote 0
                • M
                  MathieuGery @bhepler last edited by

                  @bhepler yes, sometimes providers change your public ip adress every day for security purpose. In my case it’s not. I’m thinking about making a relay of the official api on my server if that can help some people

                  1 Reply Last reply Reply Quote 0
                  • R
                    retroflex Project Sponsor Module Developer last edited by

                    Thanks for working on this. Btw, has someone tested if you can pass a * or similar as IP to allow all addresses? Might work.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MathieuGery @retroflex last edited by

                      @retroflex Yes i have tested this but abviously it doesn’t work 😖

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        retroflex Project Sponsor Module Developer @MathieuGery last edited by

                        @MathieuGery Maybe 0.0.0.0/0 would work. Or a few others to test like these: https://stackoverflow.com/a/59660664

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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