Nba Api Versions Save

An API Client package to access the APIs for NBA.com

v1.4.1

5 months ago

v1.4.1

Changed

Fixed

Full Changelog: https://github.com/swar/nba_api/compare/v1.4.0...v1.4.1

v1.4.0

6 months ago

v1.4.0

Added

  • In-Season Tournament Standings ISTStandings. @shufinskiy #396
  • EventMsgType now contains INSTANT_REPLAY (18). @usharerose #384

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

7 months ago

What's Changed

Full Changelog: https://github.com/swar/nba_api/compare/v1.3.0...v1.3.1

v1.3.0

7 months ago

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

  • urllib3 from 1.26.15 to 1.26.17. (#373) - @dependabot
  • certifi from 2022.12.7 to 2023.7.22 (#360) - @dependabot

Developer Tools

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

v1.2.1

11 months ago

Date: 2023-06-13

Security

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

Fixed

Reverted alexfayad@5076fae050ec7d655af300cde7674756c4381943. 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

1 year ago

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: https://github.com/swar/nba_api/compare/v1.1.14...v1.2.0

v1.1.14

1 year ago

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

v1.1.13

1 year ago

Fix team_index_championship_year #286

  • add championship years to data-updater template
  • re-add team_index_championship_year to static data
  • add Bucks 2021 championship and GSW 2022

v1.1.12

1 year ago

Added

Changed

Removed

  • Support for Python 3.4, 3.5, and 3.6
  • Setup.py file in favor of pyproject.toml (PEP 621)

Fixed

  • Issue #249: ./nba_api/stats/endpoints/_base.py requires numpy to format data for get_data_frame. numpy was not in the list of requirements, but is required.
  • Issue #278: Fixed playbyplayregex, and included updated unit tests, where
    • The NBA removed a space that represented distance when distance was not included in the made/missed shot.
    • Jump Ball contained a single space in the description (regex now also supports multiple spaces empty description).
    • Team fouls no longer included Player/Referee, just the Team Name & Foul.

What's Changed

New Contributors

Full Changelog: https://github.com/swar/nba_api/compare/v1.1.11...v1.1.12

v1.1.11

2 years ago

v1.1.11

2021-11-08

Live NBA Stats

  • Adding missing Live functionality #231