Closed
Description
Steps to recreate:
call statsapi.player_stat_data( 592622, group="hitting", type="season") for player Mark Payton with id 592622
Data can be seen directly at https://statsapi.mlb.com/api/v1/people/592622?hydrate=stats(group=hitting,type=season),currentTeam
Expected result:
Data returned
Actual result:
File "/home/mycarda/.local/lib/python2.7/site-packages/statsapi/init.py", line 1123, in player_stat_data
"mlb_debut": r["people"][0]["mlbDebutDate"],
KeyError: 'mlbDebutDate'
Metadata
Metadata
Assignees
Labels
No labels