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 563.7k 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.
    • S Offline
      Spankythemusical
      last edited by

      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
      • emloweE Offline
        emlowe Module Developer
        last edited by

        @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 Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @emlowe
          last edited by

          @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

            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

              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 Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @nevint
                last edited by

                @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 Reply Quote 0
                • N Offline
                  nevint @j.e.f.f
                  last edited by

                  @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 Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @nevint
                    last edited by

                    @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 Reply Quote 0
                    • D Offline
                      d3r
                      last edited by

                      Thanks for adding MLS!

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nevint @j.e.f.f
                        last edited by

                        @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

                          @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
                          • J Offline
                            j.e.f.f Project Sponsor Module Developer
                            last edited by

                            Version 1.2 released. Now with NCAAF support!!

                            S 1 Reply Last reply Reply Quote 1
                            • S Offline
                              Spankythemusical @j.e.f.f
                              last edited by

                              @j.e.f.f You are the best! I simply cannot thank you enough!

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                j.e.f.f Project Sponsor Module Developer @Spankythemusical
                                last edited by

                                @Spankythemusical you’re quite welcome. Let me know if you see anything weird, and if possible note the approximate time on the game clock when it happened.

                                The even better news is that I can use the same feed for NCAA basketball. I’ll add that in the coming weeks as the season gets underway.

                                N 1 Reply Last reply Reply Quote 1
                                • N Offline
                                  nevint @j.e.f.f
                                  last edited by

                                  @j.e.f.f Nice job! It is working fine for me.

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    j.e.f.f Project Sponsor Module Developer @nevint
                                    last edited by

                                    @nevint Update! I think I’ve found a feed that gives provides CFL scores without requiring an AI key. I’ve coded it, but I want to run it through its paces this weekend just to be sure everything works as expected. Stay tuned!

                                    N 1 Reply Last reply Reply Quote 0
                                    • P-Bo726P Offline
                                      P-Bo726
                                      last edited by

                                      Just checking in on my favorite module. Are multiple instances still a possible future enhancement?

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        j.e.f.f Project Sponsor Module Developer @P-Bo726
                                        last edited by

                                        @P-Bo726 Still thinking about the right way to do it. It needs a complete rearchitecture in order to make it happen. And If I’m going to do that, then I also want to rearchitect how I handle the data providers… Instead of a one-to-one relationship between sport and feed, I’d like to be able to take advantage of feeds that can provide multiple sports – e.g.: Using just the ESPN and Sportsnet scoreboard feeds can provide the data for all of the sports I currently support, plus a few more that I haven’t yet integrated. Even better is that Sportsnet gives me all sports it supports at once… so it significantly cuts down on the data pulls.

                                        So it’s a long way of saying yes it’s in in the plan, but it won’t happen overnight.

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          nevint @j.e.f.f
                                          last edited by

                                          @j.e.f.f Looking forward to it! I still haven’t got the API key approved, it seems they are ignoring the requests these days.

                                          J 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

                                            @nevint @P-Bo726 Just to give you an update, I have a branch with multiple instances working. Still needs quite a bit of testing, but here’s a sneak peek:

                                            0_1506658068319_Screen Shot 2017-09-29 at 12.06.16 AM.png

                                            This is three instances of the module running simultaneously, and taking advantage of using feeds that supply scores for multiple sports, including CFL without the API key.

                                            N 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 13
                                            • 14
                                            • 3 / 14
                                            • 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