Skip to content

Releases: swar/nba_api

v1.6.1

29 Oct 20:30
e2e1b4c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.6.1

v1.6.0

10 Oct 20:47
4375b0e
Compare
Choose a tag to compare

v1.6.0

Date: 2024.10.10

Changed

  • Updated .settings.json to recognize pytest tests
  • Reformatted src/nba_api/stats/library/data.py for compliance with Flake8 rules
  • Updated Static Player File

Deprecated

  • BoxScoreSimilarityScore (Person1Season & Person2Season no longer support valid values).
  • Scoreboard
  • Removed support for Python 3.8

Fixed

  • Fixed test for ShotChartLineupDetail.
  • Fixed Bug #464 affecting Scoreboard & ScoreboardV2 endpoints

Security

Full Changelog: v1.5.2...v1.6.0

v1.5.2

28 Aug 13:27
775108e
Compare
Choose a tag to compare

What's Changed

  • Fixed error where wnba_teams was not present in the data.py file after update. by @rsforbes in #463

Full Changelog: v1.5.1...v1.5.2

v1.5.1

28 Aug 00:53
2e68f50
Compare
Choose a tag to compare

What's Changed

  • Fix BoxScoreTraditionalV3 API Bug(some game stats starters and bench is None, cause 'NoneType' object has no attribute 'values') by @XatMassacrE in #458
  • Bump idna from 3.4 to 3.7 by @dependabot in #438
  • Bump requests from 2.31.0 to 2.32.0 by @dependabot in #443
  • updated requests to use version ^2.32.2 by @rsforbes in #459
  • Bump certifi from 2023.7.22 to 2024.7.4 by @dependabot in #454
  • updated static players file by @rsforbes in #460

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0

29 Jun 20:20
6a03ee9
Compare
Choose a tag to compare

v1.5.0

Added

Changed

  • All NBA player and team static data current as of 2023.11.09 #398

Fixed

Full Changelog: v1.4.1...v1.5.0

v1.4.1

22 Nov 12:42
5853b54
Compare
Choose a tag to compare

v1.4.1

Changed

Fixed

  • boxscoremathups swapped places Def and Off columns names by @shufinskiy in #409

Full Changelog: v1.4.0...v1.4.1

v1.4.0

10 Nov 21:30
3efe08e
Compare
Choose a tag to compare

v1.4.0

Added

Changed

  • All NBA player and team static data current as of 2023.11.09 #398

Deprecated

  • EventMsgType UNKNOWN (18) has been deprecated and will be removed in a future release. #400

Fixed

  • The [playbyplay][https://github.com/rsforbes/nba_api/blob/master/src/nba_api/stats/library/playbyplayregex.py] regex for TURNOVER was updated to account for a space within the description provided by the NBA. #401

Security

Developer Notes

  • Black has been implemented project wide and will be required for all PRs. #399
  • DevContainer Changes #402
    • The VSCode DevContainer was updated to pin Debian-11 due to changes in Debian 12 that have impacted Python development.
    • Poetry Shell now includes reference to the project.
    • the ms-python.flake and ms-python.vscode-pylance extensions are now included

v1.3.1

07 Oct 20:25
79ed980
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

05 Oct 12:04
3a4bb00
Compare
Choose a tag to compare

v1.3.0

Date: 2023-10-04

Added

Endpoints

Eleven new endpoints were added to this release. A massive thank you to @shufinskiy.

Changed

NBA JSON schema

Until recently, the NBA JSON schema followed a tabular strucutre exposing headers and resultSet. The NBA is now using a nested JSON schema. In addition, the data labels are no longer uppercase (e.g., PCT_OREB), are now camelcase and, in many cases, more descriptive (e.g., percentageReboundsOffensive).

Other

  • All NBA player and team data has been updated to the date of this release.
  • Corrected an invalid Slack within the text body to match the link present in the Slack shield.
  • Updated NBA team data to include the Nuggets 2023 championship (#350)

Known Issues

Due to the change in the NBA schema, the following methods will currently return and empty dataframe {}

  • .get_normalized_dict()
  • .get_normalized_json()
  • .get_headers_from_data_sets()
    All other calls are expected to work as expected.

Removed

The following eleven endpoints have been deprecated by the NBA and subsequently removed from the library

  • BoxScoreDefensive --> BoxScoreDefensivev2
  • BoxScoreMatchups --> BoxScoreMatchupsv3
  • LeagueHustleStatsPlayerLeaders --> unknown
  • LeagueHustleStatsTeamLeaders --> unknown
  • PlayerDashboardByOpponent --> unknown
  • TeamDashboardByClutch --> unknown
  • TeamDashboardByGameSplits --> unknown
  • TeamDashboardByLastNGames --> unknown
  • TeamDashboardByOpponent --> unknown
  • TeamDashboardByTeamPerformance --> unknown
  • TeamDashboardByYearOverYear --> unknown

Security

Developer Tools

Updated dev container to dynamically set the python path for Poetry. (#369)

v1.2.1

13 Jun 19:06
11280b4
Compare
Choose a tag to compare

Date: 2023-06-13

Security

requests bumped from 2.28.2 to 2.31.0 via #344 - @dependabot

Fixed

Reverted alexfayad/nba_api@5076fae. Change broke materialized url and test. Original URL was found to be valid.
Resolved bad url in documentation #322 - @alexfayad
Fixed typo in causing src/nba_api/stats/endpoints/playerindex.py to fail #340 - @shufinskiy
Fixed expired Slack URL #347

Developer Tools

Support for VS Code Dev Containers (including auto-format via black)