• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-MyScoreboard

Scheduled Pinned Locked Moved Sport
277 Posts 60 Posters 446.2k Views 63 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.
  • J Offline
    j.e.f.f Project Sponsor Module Developer @Spankythemusical
    last edited by Aug 18, 2017, 7:33 PM

    @Spankythemusical FYI I’ve got the basic plumbing in place for NCAAF, but I need to wait for some in progress games to test it. Won’t be able to do that until the first week of September, as I’m traveling at the end of August, which appears to be then first week of play.

    In any case, what’s interesting is that by manipulating the URL, it’s possible to get scores for all sorts of sports. I’ll easily be able to repurpose this for NCAA basketball and MLS (YAY! I thought this wasn’t going to be possible).

    I also might use this feed for NFL, since NFL’s native feed seems to be a bit flaky AND it’s XML (I f***ing hate working with XML). I’ll monitor it over the next few days to see if it performs better.

    1 Reply Last reply Reply Quote 0
    • S Offline
      Spankythemusical
      last edited by Aug 18, 2017, 8:10 PM

      Thank you very much for all your work. I’m sure that you have much more important things to do. I can always wait for live games in order to test. In the mean time I can parse things with python. No biggie.

      1 Reply Last reply Reply Quote 0
      • E Offline
        emlowe Module Developer
        last edited by Aug 18, 2017, 9:40 PM

        @j.e.f.f

        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

        J 1 Reply Last reply Aug 18, 2017, 9:42 PM Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @emlowe
          last edited by Aug 18, 2017, 9:42 PM

          @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.

          1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer
            last edited by Aug 20, 2017, 2:06 AM

            MLS Support now added!! NCAAF support coming soon, once I can verify my code during game progress.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nevint
              last edited by Sep 7, 2017, 11:01 PM

              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?

              J 2 Replies Last reply Sep 7, 2017, 11:16 PM Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @nevint
                last edited by Sep 7, 2017, 11:16 PM

                @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.

                N 1 Reply Last reply Sep 7, 2017, 11:20 PM Reply Quote 0
                • N Offline
                  nevint @j.e.f.f
                  last edited by Sep 7, 2017, 11:20 PM

                  @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!

                  J 2 Replies Last reply Sep 7, 2017, 11:30 PM Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @nevint
                    last edited by Sep 7, 2017, 11:30 PM

                    @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.

                    N 1 Reply Last reply Sep 8, 2017, 2:29 AM Reply Quote 0
                    • D Offline
                      d3r
                      last edited by Sep 8, 2017, 1:41 AM

                      Thanks for adding MLS!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 27
                      • 28
                      • 4 / 28
                      • 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