You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ If you install manually, be sure to also install requests.
48
48
49
49
*`statsapi.game_pace()` - get information about pace of game for a given season (back to 1999)
50
50
51
+
*`statsapi.game_scoring_plays()` - get a list of scoring plays for a given game
52
+
51
53
## Example Use
52
54
53
55
### Print the number of games won by the Oakland Athletics in 2018
@@ -132,3 +134,9 @@ lookup Chase Utley's person id from the results, and pass it into `statsapi.play
132
134
using `type='hitting'` and `group='career'`
133
135
134
136
print( statsapi.player_stats(next(x['id'] for x in statsapi.get('sports_players',{'season':2008,'gameType':'W'})['people'] if x['fullName']=='Chase Utley'), 'hitting', 'career') )
137
+
138
+
### Print a list of scoring plays from the 4/28/2019 Marlins @ Phillies game
0 commit comments