-
-
Notifications
You must be signed in to change notification settings - Fork 101
Function: game_scoring_plays
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 the data used to build the formatted text, see Function: game_scoring_play_data.
statsapi.game_scoring_plays(gamePk)
Print a list of scoring plays from the 4/28/2019 Marlins @ Phillies game
print( statsapi.game_scoring_plays(567074) )
Rhys Hoskins doubles (6) on a sharp line drive to left fielder Isaac Galloway. Bryce Harper scores.
Bottom 1 - Miami Marlins: 0, Philadelphia Phillies: 1
Rhys Hoskins walks. Andrew McCutchen scores. Jean Segura to 3rd. Wild pitch by pitcher Tayron Guerrero.
Bottom 8 - Miami Marlins: 1, Philadelphia Phillies: 5
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.