Read the statement by Michael Teeuw here.
MMM-MyScoreboard
-
You can use xml2js and convert the XML to JSON for processing. A few other modules do this. As long as the XML isn’t overly complex, you get somewhat reasonable JSON
-Earle
-
@emlowe Yeah that’s the route I went which does the job. But I’d rather not have to deal with it in the first place.
-
MLS Support now added!! NCAAF support coming soon, once I can verify my code during game progress.
-
This is a sweet module! Thanks for developing it. Have you been able to get the CFL feed working? I requested an API key but it just sits there on the CFL page saying “Requested” but never changes to approved. I placed the key in the module config and it of course doesn’t work! Any tips?
-
@nevint yeah it took a long time (many days) before I got a key. It works once you have it, but be patient. The CTO of CFL himself will get in touch with you and provide you with the key.
-
@j.e.f.f Thanks dude! I can’t wait for it to work!
Is there any chance you will add code to show upcoming games, say 3-4 days in advance? I previously used an NHL module that showed upcoming games and it was nice to see what I was going to watch that night when I stepped into the hall each morning! If not, that’s okay, the module is still killer!
-
@nevint I consciously made the decision to not do that. Because this module covers many sports, it can easily take up a lot of space with just the current day’s games. So it shows just today’s games only. In fact, the way it is architected means it is capable of only showing a single date’s worth of games.
-
Thanks for adding MLS!
-
@j.e.f.f Totally understand. It’s still my favorite mod so far! Great job!
-
@nevint I think I may have discovered a way to get CFL scores without using CFL’s API… read: no api key required. Stay tuned!!
EDIT Spoke too soon. Not going to work. I thought I had found an open TSN data data feed that they use for the scoreboard, but it turns out it’s locked down. I had mistaken the fact that I was using the same browser the explore the feed as I was using to access tsn.ca, and therefore the browser session was authorized. The second I tried a separate browser, I got “Access Denied.”