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

NFL Score Module

Scheduled Pinned Locked Moved Sport
95 Posts 20 Posters 95.2k Views 25 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.
  • I Offline
    in_a_days @strawberry 3.141
    last edited by in_a_days Jan 10, 2017, 3:55 PM Jan 10, 2017, 3:53 PM

    @strawberry-3.141 @chieftainSupreme

    I am playing around with this - but I’m also just barely qualified to write code!

    I’m gutting out most the higher level functions like stats and voice support, trying to just get correct scores to display. Biggest problem so far is I can not find an easy to parse score feed. This NFL feed is perfect.

    http://www.nfl.com/liveupdate/scorestrip/ss.xml

    What ship would bear me ever back across so wide a Sea?

    C 1 Reply Last reply Jan 10, 2017, 5:54 PM Reply Quote 0
    • C Offline
      chieftainSupreme @in_a_days
      last edited by Jan 10, 2017, 5:54 PM

      @in_a_days I’ve been having trouble finding an NBA feed as well, I’ll keep looking and let you know if I find anything

      I 1 Reply Last reply Jan 10, 2017, 6:19 PM Reply Quote 0
      • I Offline
        in_a_days @chieftainSupreme
        last edited by Jan 10, 2017, 6:19 PM

        @chieftainSupreme

        Found this today. It’s not nearly as elegant as the NFL xml file, but it should technically be parsable.

        http://www.espn.com/nba/bottomline/scores

        What ship would bear me ever back across so wide a Sea?

        1 Reply Last reply Reply Quote 0
        • I Offline
          in_a_days
          last edited by in_a_days Jan 10, 2017, 11:27 PM Jan 10, 2017, 11:26 PM

          So it’s been over 15 years since I’ve done much coding. My background is in C++ and I ran a few Python tutorials when I first got my Pi.

          I’m writing a parser for this NBA score feed and it just occurred to me that I don’t know how to integrate a python script into Magic Mirror. I’ve made some good progress, but is there any sense continuing? Will I be able to easily port this to JS or will Magic Mirror know what to do with the .py file, or am I going to need to start over?

          What ship would bear me ever back across so wide a Sea?

          S 1 Reply Last reply Jan 10, 2017, 11:31 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @in_a_days
            last edited by Jan 10, 2017, 11:31 PM

            @in_a_days check out this python shell module https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js#L11

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 1
            • I Offline
              in_a_days
              last edited by in_a_days Jan 16, 2017, 6:01 PM Jan 16, 2017, 5:57 PM

              I’ve completed an ugly parser for this NBA data. I have a python program that stores and prints a list of home teams, away teams, scores, and event times. Can anybody help me with passing these variables into the existing NFL module framework?

              0_1484589665579_parser.jpg

              What ship would bear me ever back across so wide a Sea?

              S 1 Reply Last reply Jan 16, 2017, 6:09 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @in_a_days
                last edited by Jan 16, 2017, 6:09 PM

                @in_a_days I suggest to move this into the development section and a new thread for nba

                Help: you can run the python script in from inside the node_helper and read the output, then send the data to your module with a socket notification

                Please create a github issue if you need help, so I can keep track

                I 1 Reply Last reply Jan 16, 2017, 6:26 PM Reply Quote 1
                • I Offline
                  in_a_days @strawberry 3.141
                  last edited by Jan 16, 2017, 6:26 PM

                  @strawberry-3.141

                  Thank you again for the help. I’ve opened a new thread here:

                  https://forum.magicmirror.builders/topic/1431/mmm-nba-nba-scores-module

                  What ship would bear me ever back across so wide a Sea?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer
                    last edited by strawberry 3.141 Mar 10, 2018, 7:51 AM Mar 10, 2018, 7:50 AM

                    Fixed issues reported (shows NFL undefined 2017)

                    [card:fewieden/MMM-NFL]

                    Please create a github issue if you need help, so I can keep track

                    1 Reply Last reply Reply Quote 1
                    • A Offline
                      Achilles
                      last edited by Aug 13, 2018, 1:14 AM

                      Is anyone having a problem getting the Preseason 2018 to display? If I reboot my MM, it will say, Preseason 2018, but the final week of the 2017 regular season will display. Any suggestions?

                      C 1 Reply Last reply Aug 13, 2018, 1:28 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 6 / 10
                      • 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