BruceJohnJennerLawso / scrap

Hockey stats analysis done by scraping the data to a csv file, then processing/analyzing them with more python.
3 stars 0 forks source link

Create an alt scraper that pulls down the game jsons from statsapi.web.nhl.com #91

Open BruceJohnJennerLawso opened 7 years ago

BruceJohnJennerLawso commented 7 years ago

Not actually as hard as it sounds, I think this can use the postLockoutCurrent manifest and the magic number of 1230 games per nhl season to force pull everything available, excepting over games that are not yet played/not in the schedule. Playoffs should be pretty simple to handle too.

Probably a good directory structure choice would be

./data/nhl/[year]/games