Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
hey max, like I described in the post before yours i did it like in the instructions and it worked fine, but let’s try together to figure out why it’s not working for you.
you don’t need an api key unless you make over 50 requests a day. at the moment the module only request data from the api if the module gets initialised after starting your mirror. when you dont restart your mirror more than 50 times a day you don’t need one.
because you can see no data available the module should be loaded correctly, but there is probably a problem with the api itself. did you try to put the url in the browser and see if you get a result there maybe the server of the api isn’t available at the moment
http://api.football-data.org/v1/soccerseasons/394/leagueTable
this should give you a result for german bundesligareport your result on this and then we can see what we can do otherwise if its not working
-
sorry! my fault! silly me!
i reloaded a hundred times via ctrl+r, but i never restarted the whole mirror -.-
now it’s working just fine, thank you :) -
i’m happy that it’s working for you
if you want you can also apply for a free api key here http://api.football-data.org/register to get 50 requests a minute
-
Hi @strawberry-3-141 - thanks for putting together this module.
In case it helps anyone, I’ve created a GitHub repository for my version of the module - https://github.com/ianperrin/MMM-FootballData. I renamed it to add the MMM- prefix as that seems the convention round here, and changed soccer to FootballData because a) that’s the name of the game :) and b) it indicates the source (http://api.football-data.org)
[card:ianperrin/MMM-FootballData]
ALL CREDIT GOES TO @strawberry-3-141
-
@ianperrin well that’s kind of an old version meanwhile, I have a work in progress of a newer version on github already
-
@strawberry-3.141 do you have a link?
-
[card:fewieden/MMM-soccer]
as I said it’s work in progress and not finished
-
@strawberry-3.141 care to share your plans - perhaps I can contribute?
I also notice you’ve hardcoded the leagues into the subclassed start method. Is there a reason for this, because it means that I can’t override them via config to use other leagues?
-
plans are:
- i18n
- integration of my voice recognition module (also wip), this goes with more use of the api like fixtures etc.
- cup support
- smaller screen support
probably I’m going one step back and will put league codes configurable again
-
I’ve just sent you a pull request which attempts to find a solution for smaller screens (compact mode). Not perfect, but an initial prototype!
Here’s the original full table:
And here’s the compact view: