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
I just noticed this last night. Apparently StatsAPI stopped supporting the statType of statsSingleSeason. I have made changes to pull career leaders in the examples instead, since I no longer see a way to pull single season record holders. I need to do some more testing before publishing.
i was going through some of the code in the documentation:
this line of code:
print( statsapi.league_leaders('onBasePlusSlugging',statGroup='hitting',limit=5) )
gives:
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: