An API Client package to access the APIs for NBA.com
Full Changelog: https://github.com/swar/nba_api/compare/v1.4.0...v1.4.1
INSTANT_REPLAY
(18). @usharerose #384UNKNOWN
(18) has been deprecated and will be removed in a future release. #400Full Changelog: https://github.com/swar/nba_api/compare/v1.3.0...v1.3.1
Date: 2023-10-04
Eleven new endpoints were added to this release. A massive thank you to @shufinskiy.
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
).
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.The following eleven endpoints have been deprecated by the NBA and subsequently removed from the library
Updated dev container to dynamically set the python path for Poetry. (#369)
Date: 2023-06-13
requests bumped from 2.28.2 to 2.31.0 via #344 - @dependabot
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
Support for VS Code Dev Containers (including auto-format via black)
Date: 2023-03-23
New Endpoint:
Jupyter Notebooks (Binary Classification - Home Team Win-Loss Modeling) #329 - @TheResearchLab
Player Static Data: Updated as of 2023.03.23 #322
src/nba_api/stats/endpoints/__init__.py
#333Full Changelog: https://github.com/swar/nba_api/compare/v1.1.14...v1.2.0
.gitignore
for .dccache
files created by Snyk CLIFix team_index_championship_year #286
CONTRIBUTING.MD
CHANGELOG.MD
flake8
and pytest
into Commands./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.playbyplayregex
, and included updated unit tests, where
distance
when distance
was not included in the made/missed shot.Full Changelog: https://github.com/swar/nba_api/compare/v1.1.11...v1.1.12