Read the statement by Michael Teeuw here.
MMM-BrawlStars
-
@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! -
@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.
-
@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.
-
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.
-
@MathieuGery - Correction: Your public IP address doesn’t change very often.
-
@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
-
Thanks for working on this. Btw, has someone tested if you can pass a * or similar as IP to allow all addresses? Might work.
-
@retroflex Yes i have tested this but abviously it doesn’t work :confounded_face:
-
@MathieuGery Maybe 0.0.0.0/0 would work. Or a few others to test like these: https://stackoverflow.com/a/59660664
-
@retroflex nope sry