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 111.5k 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.
    • S Offline
      sgault @Achilles
      last edited by

      @achilles
      Same here. I was hoping it would update but no go. I look at the url that it goes out to check and it appears that NFL.com isn’t updating it. I’m wondering if developer of this module may need to do some tweeking or instructions so we as users can.

      1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer
        last edited by

        There are several options (good and bad ones), but I’m busy. Therefore I will wait at least until this weekend, before I take an action here. Getting a new api most of the times also means rewriting most of the module which is time intensive. Maybe there are also volunteers.

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

        Mykle1M 1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @strawberry 3.141
          last edited by

          @strawberry-3-141 said in NFL Score Module:

          Maybe there are also volunteers.

          :thumbsup:

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • G Offline
            gama
            last edited by

            According to Stackoverflow the xml service is discontinued and is now using JSON for the 2018 season. Here’s the JSON file http://www.nfl.com/liveupdate/scores/scores.json

            G 1 Reply Last reply Reply Quote 1
            • G Offline
              gama @gama
              last edited by

              @gama said in NFL Score Module:

              According to Stackoverflow the xml service is discontinued and is now using JSON for the 2018 season. Here’s the JSON file http://www.nfl.com/liveupdate/scores/scores.json

              Just noticed that someone replied with an AJAX version that appeared to have the same output as the XML file. I plugged it in to the node_helper.js file and it works!

              Here’s the AJAX version http://www.nfl.com/ajax/scorestrip?season=2018&seasonType=REG&week=1

              justjim1220J strawberry 3.141S 2 Replies Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @gama
                last edited by

                @gama

                Could you explain how you 'plugged it into the node_helper.js file?
                I would greatly appreciate it!

                TIA!!!

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @gama
                  last edited by

                  @gama the problem with this link is, that you need to change it every week. In order to work automatically you need to create a logic to change the week and seasontype and year automatically.

                  I previously tried to create a logic just to determine if it is regular or post season and the mirrors of the peaople started going crazy flickering regular and post season.

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

                  1 Reply Last reply Reply Quote 1
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    I will be going on vacation from this Friday until the 27th…going here ->

                    https://www.galvestonbeachinfo.com/

                    1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer
                      last edited by

                      nfl updated the data source and is now on week 2 season 2018. so it should work now again as expected.

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

                      1 Reply Last reply Reply Quote 1
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer
                        last edited by

                        I’m sick of changing the data source for every season and of course this year it happened again. I’m open to discuss new data sources. The data source ideally should have the following features:

                        • free
                        • JSON REST API
                        • one data feed, no switching between regular and postseason. this was always a big pain with the old API

                        The data should contain:

                        • score
                        • home team
                        • visitor team
                        • date
                        • time
                        • game status: 1ST_QUARTER, 2ND_QUARTER, 3RD_QUARTER, 4TH_QUARTER, HALF_TIME, OVER_TIME, FINAL, FINAL_OVERTIME, TIE, UPCOMING

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

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 8 / 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