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.

    MMM-BrawlStars

    Scheduled Pinned Locked Moved Fun & Games
    12 Posts 5 Posters 3.6k Views 5 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.
    • R Offline
      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 Offline
        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 Offline
          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.

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @MathieuGery
            last edited by

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

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              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 Offline
                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 Offline
                  MathieuGery @retroflex
                  last edited by

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

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    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
                    • M Offline
                      MathieuGery @retroflex
                      last edited by

                      @retroflex nope sry

                      1 Reply Last reply Reply Quote 1
                      • L Offline
                        lijon
                        last edited by

                        Download the private server of this game from here…

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