espn-play-by-play-scraper
v1.1.0
Published
Export play by play data for an NFL game to CSV
Downloads
3
Readme
Installation
npm install -g espn-play-by-play-scraper
Usage
Stats
- Go to (http://www.espn.com/nfl/scoreboard) and navigate to the team stats of the game you want to get the CSV for.
- Find the gameId field in the url
- Scrape the data:
scrape-stats <GAME-ID>
- The CSV file will be placed in the current directory as
<GAME-ID>-stats.csv
Play by play (TODO)
- Go to (http://www.espn.com/nfl/scoreboard) and navigate to the play by play of the game you want to get the CSV for.
- Find the gameId field in the url
- Scrape the data:
scrape-plays <GAME-ID>
- The CSV file will be placed in the current directory as
<GAME-ID>-play-by-play.csv