The NFL has removed access to their Game Center data feed, this program is not operational at the time being.
Requires go >= 1.12
Download the latest release for your system from the releases page.
- Mac:
nfl-term_darwin_amd64
- Linux:
nfl-term_linux_amd64
- Windows:
nfl-term_windows_amd64.exe
or
Use Go modules
go get github.com/evansloan/nfl-term
or
Use cURL/wget (Make sure to download the correct release for your system)
$ curl -o /usr/local/bin/nfl-term https://github.com/evansloan/nfl-term/releases/download/v0.0.3/nfl-term_darwin_amd64
$ chmod +x /usr/local/bin/nfl-term
$ git clone https://github.com/evansloan/nfl-term.git
$ cd nfl-term
$ make install
$ nfl-term
-v, --version // Displays the version of nfl-term
-g, --games <game ids> // Loads specific game stats
Game IDs follow this structure:
<year><month><day><game number>
Game numbers start at 00 so the first game played on a given day would be 00, the second 01, the third 02, etc...
Example: The first game played on September 13th of the 2015 season would be: 2015091300
, the second 2015091301
, the third 2015091302
.
Finding a specific game number:
-
Go to
http://www.nfl.com/schedules/<season>/REG1
where<season>
is the year of the season of the game you would like. The link for the 2015 season would be http://www.nfl.com/schedules/2015/REG1 -
Find the game within the list you would like to display stats for. Click on the Game Center link. The game ID is located within the Game Center URL. The ID within https://www.nfl.com/gamecenter/2015092009/2015/REG2/49ers@steelers is
2015092009
-
Add responsive layout
-
Better error handling
This project is licensed under the MIT License - see the LICENSE.md file for details