Releases: toddrob99/MLB-StatsAPI
Releases · toddrob99/MLB-StatsAPI
v1.9.0
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)
v1.8.1
enh: stats endpoint supports startDate and endDate parameters #148
Full Changelog: v1.8...v1.8.1
v1.8
What's Changed
- Split search input by word by @ap-ack in #143
- v1.8 by @toddrob99 in #147
- enh: add season to schedule endpoint config #146
- enh: add season parameter to divisions endpoint #141
- enh: add default value to get() params parameter #145
New Contributors
Full Changelog: v1.7.2...v1.8
v1.7.2
- 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)
- Version: 1.7.2
- Code formatting
v1.7.1
- fix: boxscore_data incorrect batting notes #131
- enh: add support for leagueId to schedule function #132
- ver: 1.7.1
v1.7
enh: latest_season should ret current season #127
fix: draft url missing slash #126
fix: default draft to current year #126
ver: 1.7
v1.6.2
enh: support division id in standings() and standings_data() #115
ver: 1.6.2
v1.6.1
fix: handle missing highlights in schedule method
fix: handle missing eliminationNumber and ranks in standings data
ver: 1.6.1
v1.6
Enh: Add series_status to schedule #95 (thanks @WardBrian)
Fix: Error in schedule method when team score or name are missing #96
v1.5.1
fix: Attribute Error - Function: lookup_team #91