Skip to content

Function: game_scoring_play_data

toddrob edited this page Mar 16, 2020 · 3 revisions

Returns a python dict of scoring plays for a given game.

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
Clone this wiki locally