-
-
Notifications
You must be signed in to change notification settings - Fork 104
Function: game_scoring_play_data
toddrob edited this page Jul 26, 2020
·
3 revisions
Note: This method is broken as of 7/25/2020 due to a change in the data returned by the
schedule
endpoint. Please update to v0.1.9 for the fix.
Note: To retrieve a formatted text version, see Function: game_scoring_plays.
statsapi.game_scoring_play_data(gamePk)
Will return a dict containing 3 keys:
- home - home team data
- away - away team data
- plays - sorted list of scoring play data
Note: This information is provided for reference only, without warranty or guarantee, and is not official documentation provided by MLB. This package and its author are not affiliated with MLB or any MLB team. This API wrapper interfaces with MLB's Stats API. Use of MLB data is subject to the notice posted at http://gdx.mlb.com/components/copyright.txt.