• 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 414.1k 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.
  • 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
                  • N Offline
                    nevint @j.e.f.f
                    last edited by Sep 8, 2017, 2:29 AM

                    @j.e.f.f Totally understand. It’s still my favorite mod so far! Great job!

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      j.e.f.f Project Sponsor Module Developer @nevint
                      last edited by j.e.f.f Sep 8, 2017, 2:06 PM Sep 8, 2017, 1:42 PM

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

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