jdorfman / awesome-json-datasets

A curated list of awesome JSON datasets that don't require authentication.
Creative Commons Zero v1.0 Universal
3.33k stars 376 forks source link

Add Sports section #64

Closed jdorfman closed 7 years ago

jdorfman commented 8 years ago

Start with NFL

Put in other: https://github.com/BurntSushi/nflgame/tree/master/nflgame/gamecenter-json

dcmoore commented 8 years ago

Ok, so I did some sleuthing on the 'ole interwebs and came up with how the NFL feeds their game center with that sweet sweet JSON data.

Take the following URL: http://www.nfl.com/liveupdate/game-center/2016092500/2016092500_gtd.json

You get lots of information! However it isn't immediately apparent how that number in the URL is derived. If you put in the incorrect number, then you'll get a 404. The number format is as such:

id  2016092500
year      2016
month       09
day         25
game number 00

The game number starts at zero and increments to the number of games that were played on that date.

NFL data mystery solved! :shipit:

jdorfman commented 8 years ago

Stellar work @dcmoore

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.