Skip to content

Releases: jaebradley/basketball_reference_web_scraper

Add include_inactive_games to player box scores methods

26 Dec 23:15
Compare
Choose a tag to compare

Added by #204.

Also includes integration test fixes from #210

Add API method to get standings

20 Aug 12:49
8878db3
Compare
Choose a tag to compare

#203 added a standings client method to retrieve the standings for a given season.

The data it returns is the team, its wins and losses, and the division, and conference the team was in.

The main input is the season end year.

This should resolve #198.

Add API method for player box scores from playoff games

08 Aug 01:55
19fd54a
Compare
Choose a tag to compare

PR #200 resolved #194 by adding the playoff_player_box_scores method that gets box score statistics from playoff games.

This release also includes a refactoring of the output logic (#186) that should not have any breaking changes but hopefully consolidates the existing output logic.

Fix extra whitespace in search API method player name

06 Aug 02:44
4b26fb5
Compare
Choose a tag to compare

Changes from #199 where the search API was returning a player's name with extra whitespace characters.

Fixes league values for players that did not play a season

04 Jun 04:16
34069c6
Compare
Choose a tag to compare

Resolves #184

In each of the cases mentioned on the issue, the player did not participate for a given season.

In Alonzo Mourning's case it was due to illness

image

In Dominique Wilkins' case it was due to playing in other professional leagues

image

And in Rick Barry's case it was for legal reasons

image

So when parsing leagues from a player's page (when search redirects to player's page when they are only matching result) check to see if league is None.

Upgrade lxml to 4.5.1

01 Jun 02:27
ffd7b04
Compare
Choose a tag to compare

Upgrade lxml to latest version.

Fix player names with * suffix and utf-8 encoding issue for Windows machines

04 May 21:38
2ff7d6d
Compare
Choose a tag to compare

Summary

The relevant changes to the API are around

  1. Fixing player names in season total tables
  • Basketball Reference started adding * to the end of player names. The related changes (#176) strip out these * values
  1. Fixing a utf-8 encoding issue for Windows machines (#173) where CSV and JSON files need to have their encoding argument specified as utf8 (#180)

There are also changes related to creating an HTTPService and ParserService but these should not have any implications on the behavior of the external API.

Allow ability to get combined player advanced season statistics

05 Mar 16:57
4074484
Compare
Choose a tag to compare

Summary

#163 addresses issue #92 which allows end-users to fetch combined player advanced season statistics.

Before this change, advanced season statistics were for a given player / team / season combination (so Jimmy Butler, while playing for the Philadelphia 76ers in the 2017-2018 season).

Now, by passing include_combined_values=True to the players_advanced_season_totals method, end-users will also receive advanced statistic data for players across the entire season.

These records will have the new is_combined_totals field set to true (while all other records will have this field set to false).

Additionally, these records will have a null team field associated with them.

Add search API method

10 Feb 16:13
Compare
Choose a tag to compare

Implements a client method that supports returning values from Basketball Reference's search page (example URL: https://www.basketball-reference.com/search/search.fcgi?search=ko).

An implementation challenge was supporting Basketball Reference's behavior of going directly to a specific page when a single result is returned by a search term.

PR: #136
Issue: #134

4.7.1

28 Jan 17:11
Compare
Choose a tag to compare

Accidentally re-released 4.7.0