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
Many thanks to MLB-StatsAPI's new collaborator, @WardBrian, for pulling this release together.
Features:
New uniform endpoints game_uniforms and team_uniforms (#154)
schedule() supports the season argument to get an entire season's games at once (#149)
player_stats() and player_stats_data() support the season argument to get previous seasons of stats (#161)
get() now accepts a requests_kwargs dict which are passed as extra arguments to requests.get() (#159)
Bug fixes:
Fixed the offseason behavior of the latest_season() function to return the upcoming season, not just whatever the most recent in MLB's data is (#157)
schedule() supports passing include_series_status=False to not request the series status from the endpoint, which can fail when requesting schedules covering large periods of time (#158)
Enhance lookup_player() to support using regular ascii characters when searching for players with accented and diacritical characters in their names (e.g. search for Acuna and get Acuña in the results)