Releases: swar/nba_api
Releases · swar/nba_api
v1.2.0 Release of NBA API
v1.2.0
Date: 2023-03-23
Added
- Python: Support for 3.11 #331
-
New Endpoint:
- PlayerIndex via #326 - @shufinskiy
- VideoDetailsAsset via #325 - @OnerInce
-
Jupyter Notebooks (Binary Classification - Home Team Win-Loss Modeling) #329 - @TheResearchLab
-
Player Static Data: Updated as of 2023.03.23 #322
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
Fixed
- Fixed a team turnover regular expression when working with PlayByPlay data.
- Endpoints
- Fixed PlayerGameLogs parameter OppTeamID --> OpponentTeamID (#311 - FarhanSajid1
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
- Upgraded NumPy from v1.21.6 to v1.22.2 due to three vulnerabilies:
- Integrated DeepSource for code security scanning
Fix team_index_championship_year
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 Player Updates, Video Assets, and More
Added
- 2022-10-08 Player Data
- Endpoints
CONTRIBUTING.MD
CHANGELOG.MD
- GitHub issue template for bugs
- CircleCI build support for Python 3.10
- pyproject.toml (PEP 621)
Changed
- CircleCI
- Migrated to next-gen Convenience Images
- Config to Version 2.1
- Moved
flake8
andpytest
into Commands - Parameterized docker images
- README.md
- Link to NBA.com Terms of Use
- Getting started samples at the top
- Other edits for improving the reading structure
- Project Structure
- Source code moved from flat-layout to src-layout
- Tests were divided into Unit/Integration
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
requiresnumpy
to format data forget_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
whendistance
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.
- The NBA removed a space that represented
What's Changed
- Visual Package Structure in docs by @AlexEidt in #235
- added support for videoeventsasset endpoint by @prateekjaipuria in #259
- Updated Python Support within CI Build by @rsforbes in #264
- Updating Circle CI Build + CONTRIBUTING.md by @rsforbes in #265
- Issue Template for Bugs by @rsforbes in #266
- fixed missing label by @rsforbes in #267
- Update CircleCI Docker Images Due to Planned Deprecation by @rsforbes in #271
- Player update for 2022-23 Season by @rsforbes in #272
- Added CHANGELOG.MD by @rsforbes in #274
- updated changelog.md by @rsforbes in #275
- Resolved Numpy Requirement by @rsforbes in #276
- Restructured Project. Version Bump to 1.1.12. Added pyproject.toml. by @rsforbes in #277
- PlayByPlay Regex Fixes by @rsforbes in #278
- Revised the README.md by @rsforbes in #279
- 2022 MVP in README.md. Version set to 1.1.12-rc.1 by @rsforbes in #280
- PlayByPlay Regex Fixes by @rsforbes in #281
- V1.1.12 Final by @rsforbes in #282
New Contributors
- @AlexEidt made their first contribution in #235
- @prateekjaipuria made their first contribution in #259
Full Changelog: v1.1.11...v1.1.12
v1.1.11 - Adding missing Live functionality
v1.1.10 - Adding Live endpoints
v1.1.10
2021-10-31
stats.nba.com
- Added handling of multiple level column names #212
- Finding team by championship years #219
- Updated Static Player and Team Data #225
- Added
previous_season
attribute for Season Parameter #226
Live NBA Stats
- Randy added some Live NBA endpoints #184
Endpoints were unable to be tested due to outdated analyzer.
v1.1.9 - New Endpoints
v1.1.9
2020-08-18
stats.nba.com
- Fixed bug where LeagueDashOppPtShot was missing in tests and init.py #152
- Adding endpoints #102
- AllTimeLeadersGrids
- BoxScoreSimilarityScore
- CumeStatsPlayer
- CumeStatsPlayerGames
- CumeStatsTeam
- CumeStatsTeamGames
- DraftBoard
- GameRotation
- GLAlumBoxScoreSimilarityScore
- LeagueHustleStatsPlayer #144
- LeagueHustleStatsPlayerLeaders #144
- LeagueHustleStatsTeam #144, #147
- LeagueHustleStatsTeamLeaders #144
- LeagueLineupViz
- LeagueStandingsV3
- MatchupsRollup
- PlayerCareerByCollege
- PlayerCareerByCollegeRollup
- PlayerEstimatedMetrics
- ShotChartLeagueWide
- TeamEstimatedMetrics
Tools
- Various Changes for New Endpoints including Threading