Skip to content

Releases: toddrob99/MLB-StatsAPI

v1.9.0

04 Apr 19:02
4658baa
Compare
Choose a tag to compare

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

01 Nov 20:31
Compare
Choose a tag to compare

enh: stats endpoint supports startDate and endDate parameters #148

Full Changelog: v1.8...v1.8.1

v1.8

26 Oct 20:06
8fa2397
Compare
Choose a tag to compare

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

29 Apr 12:56
be8210d
Compare
Choose a tag to compare
  • 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

18 Dec 20:05
d79b681
Compare
Choose a tag to compare
  • fix: boxscore_data incorrect batting notes #131
  • enh: add support for leagueId to schedule function #132
  • ver: 1.7.1

v1.7

10 Oct 22:39
6a037e4
Compare
Choose a tag to compare

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

29 Jul 18:38
7813caa
Compare
Choose a tag to compare

enh: support division id in standings() and standings_data() #115
ver: 1.6.2

v1.6.1

06 Mar 14:38
78b2ae1
Compare
Choose a tag to compare

fix: handle missing highlights in schedule method
fix: handle missing eliminationNumber and ranks in standings data
ver: 1.6.1

v1.6

12 Nov 01:49
ecf58c8
Compare
Choose a tag to compare

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

13 Aug 21:08
Compare
Choose a tag to compare

fix: Attribute Error - Function: lookup_team #91