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 122.6k 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.
    • 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
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by strawberry 3.141

                  The data source was fixed and with it the version 1.1.0 of the module is released.

                  Thanks to https://github.com/alacercogitatus and https://github.com/justjim1220 for their contributions.

                  Link to module https://github.com/fewieden/MMM-NFL

                  [1.1.0]

                  Fixed

                  • Data source
                  • Installation instructions

                  Added

                  • Config option tableSize to specify font size of table.
                  • Config option reverseTeams to invert the display order of home and away team.
                  • Display of week in header.
                  • package-lock.json
                  • Pro bowl mode

                  Changed

                  • Updated icons
                  • Start in regular mode

                  Removed

                  • team renaming

                  [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
                  • D Offline
                    Dropzone1969
                    last edited by

                    Is there a way to have player statistics without using voice, Just have it there full time? If game day scores is on the left side maybe have the stats on the right side?

                    This is a great module though.

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

                      @Dropzone1969 Not without rewriting the module.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dropzone1969
                        last edited by

                        ok, thank you

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Requiemm
                          last edited by

                          Sorry to bring this back from the dead but I was wondering if this was still supported?

                          I installed it on my magic mirror docker image ran the npm command and am getting this:

                          NFL REGULAR SEASON 2021 WEEK UNDEFINED
                          Loading…

                          Hoping someone can point this MM newbie in the right direction

                          S strawberry 3.141S 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Requiemm
                            last edited by

                            @requiemm the issue has been reported to the author. no fixes yet

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              Requiemm @sdetweil
                              last edited by

                              @sdetweil Thanks! I missed that when skimming the thread.

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

                                @requiemm the API still provides the data from last season. I started building a prototype with a different API provider.

                                https://github.com/fewieden/MMM-NFL/issues/44#issuecomment-932719760

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

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

                                  Link to module https://github.com/fewieden/MMM-NFL

                                  1.3.0

                                  MagicMirror² version >= 2.15.0 required.

                                  Added

                                  • Nunjuck templates
                                  • Remote team logos
                                  • Readded live game fetching
                                  • More statistic types
                                  • Integrated MagicMirror logger on server side
                                  • Integrated MMM-Modal
                                  • Implemented suspend, resume and stop behavior
                                  • Added instructions for global config options
                                  • Github actions: changelog and build
                                  • Github config files

                                  Changed

                                  • Data structure
                                  • Dimmed bye week
                                  • Project config files
                                  • Dependency updates
                                  • Preview pictures

                                  Removed

                                  • API provider: NFL XML API
                                  • Local team logos
                                  • Config option: helmets

                                  8ee29d40-18e3-434d-b709-710e1e396cf3-image.png

                                  aa529eb3-7ba4-44c5-ba2d-aca5c73ca02c-image.png

                                  [card:fewieden/MMM-NFL]

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

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

                                    Link to module https://github.com/fewieden/MMM-NFL

                                    1.3.1

                                    Fixed

                                    • Config option focus_on didn’t filter match list

                                    Removed

                                    • TravisCI integration

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

                                    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
                                    • 3 / 5
                                    • 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