An API to retrieve and read MLB GameDay JSON and XML data
Project description
mlbgame
mlbgame is an API to read MLB GameDay XML and JSON data. mlbgame works with real time data, getting information as games are being played.
mlbgame uses the same data that MLB GameDay uses, and therefore is updated as soon as something happens in a game.
mlbgame currently comes pre-loaded with every game from 2009 to the end of the 2015 season, but will be updated regularly during the season. Therefore, accessing this data does not actually make a request to mlb.com
If you try to get data from a game that is not cached, mlbgame will download the data from mlb.com.
mlbgame documentation
mlbgame on Github (Source Code) (Leave a star!)
Updating the Game Database
Since games happen every day, new game data exists that is not stored on disk from the original install. The database can be updated by running the following command:
mlbgame-update-games
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.