Skip to content

Releases: swar/nba_api

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)

v1.2.0 Release of NBA API

23 Mar 18:55
555d5a4
Compare
Choose a tag to compare

v1.2.0

Date: 2023-03-23

Added

  • Python: Support for 3.11 #331

Changed

  • Removed Python max version release dependency to allow for all go-forward versions. Bugs with later Python versions can be addressed as needed. #331

Fixed

  • Documentation: corrected parameter order on commonteamroster.md PR#317 - @JohannPally
  • Corrected Hawks home state from Atlanta to Georgia #332
  • Bug #327: Corrected a missing comma in src/nba_api/stats/endpoints/__init__.py #333

Developer Tools

  • Resolved CircleCI build where Poetry and CircleCI Docker images conflicted in how output is managed. #331

Full Changelog: v1.1.14...v1.2.0

v1.1.14 Release of NBA API

16 Nov 13:19
a5d90f5
Compare
Choose a tag to compare

Fixed

  • Fixed a team turnover regular expression when working with PlayByPlay data.
  • Endpoints

Added

  • Poetry: Python dependency management and packaging made easy
  • Snyk for Security Scanning
  • Exclusion to .gitignore for .dccache files created by Snyk CLI
  • Introduced .flake8, resolve a number of style guide issues, added exclusions with future TODOs

Changed

  • Minimum Version for NumPy has been set to v1.22.22 due to a security vulnerability in NumPy v1.21.6

Removed

  • Support for Python 3.7 due to a security vulnerability in NumPy v1.21.6

Security