Nba-api

Latest version: v1.4.1

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.1.14

Not secure
Fixed

- Fixed a team turnover regular expression when working with PlayByPlay data.
- Endpoints
- Fixed [PlayerGameLogs](https://github.com/FarhanSajid1/nba_api/blob/master/src/nba_api/stats/endpoints/playergamelogs.py) parameter OppTeamID --> OpponentTeamID ([#311](https://github.com/swar/nba_api/pull/311) - [FarhanSajid1](https://github.com/FarhanSajid1)

Added

- [Poetry](https://python-poetry.org/): Python dependency management and packaging made easy
- [Snyk](https://snyk.io/) 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](https://security.snyk.io/package/pip/numpy/1.21.6)

Removed

- Support for Python 3.7 due to a security vulnerability in [NumPy v1.21.6](https://security.snyk.io/package/pip/numpy/1.21.6)

Security

- Upgraded NumPy from v1.21.6 to v1.22.2 due to three vulnerabilies:
- [NULL Pointer Dereference](https://security.snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964)
- [Buffer Overflow](https://security.snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966)
- [Denial of Service (DOS)](https://security.snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970)
- Integrated [DeepSource](https://deepsource.io/) for code security scanning

1.1.13

Not secure
Fix team_index_championship_year [286 ](https://github.com/swar/nba_api/pull/286)

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

1.1.12

Not secure
Added

- 2022-10-08 [Player Data](https://github.com/swar/nba_api/blob/master/src/nba_api/stats/library/data.py)
- Endpoints
- [VideoEventsAsset](https://github.com/prateekjaipuria/nba_api/blob/master/nba_api/stats/endpoints/videoeventsasset.py) ([#259](https://github.com/swar/nba_api/pull/259) - [prateekjaipuria](https://github.com/prateekjaipuria))
- [`CONTRIBUTING.MD`](https://github.com/swar/nba_api/blob/master/CONTRIBUTING.md)
- [`CHANGELOG.MD`](https://github.com/swar/nba_api/blob/master/CHANGELOG.md)
- GitHub issue template for bugs
- CircleCI build support for Python 3.10
- pyproject.toml ([PEP 621](https://peps.python.org/pep-0621/))

Changed

- CircleCI
- [Migrated to next-gen Convenience Images](https://circleci.com/docs/next-gen-migration-guide/)
- [Config to Version 2.1](https://discuss.circleci.com/t/circleci-2-1-config-overview/26057)
- Moved `flake8` and `pytest` into Commands
- Parameterized docker images
- README.md
- Link to [NBA.com Terms of Use](https://www.nba.com/termsofuse)
- 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](https://peps.python.org/pep-0621/))

Fixed

- [Issue 249](https://github.com/swar/nba_api/issues/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](https://github.com/swar/nba_api/issues/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
* Visual Package Structure in docs by AlexEidt in https://github.com/swar/nba_api/pull/235
* added support for videoeventsasset endpoint by prateekjaipuria in https://github.com/swar/nba_api/pull/259
* Updated Python Support within CI Build by rsforbes in https://github.com/swar/nba_api/pull/264
* Updating Circle CI Build + CONTRIBUTING.md by rsforbes in https://github.com/swar/nba_api/pull/265
* Issue Template for Bugs by rsforbes in https://github.com/swar/nba_api/pull/266
* fixed missing label by rsforbes in https://github.com/swar/nba_api/pull/267
* Update CircleCI Docker Images Due to Planned Deprecation by rsforbes in https://github.com/swar/nba_api/pull/271
* Player update for 2022-23 Season by rsforbes in https://github.com/swar/nba_api/pull/272
* Added CHANGELOG.MD by rsforbes in https://github.com/swar/nba_api/pull/274
* updated changelog.md by rsforbes in https://github.com/swar/nba_api/pull/275
* Resolved Numpy Requirement by rsforbes in https://github.com/swar/nba_api/pull/276
* Restructured Project. Version Bump to 1.1.12. Added pyproject.toml. by rsforbes in https://github.com/swar/nba_api/pull/277
* PlayByPlay Regex Fixes by rsforbes in https://github.com/swar/nba_api/pull/278
* Revised the README.md by rsforbes in https://github.com/swar/nba_api/pull/279
* 2022 MVP in README.md. Version set to 1.1.12-rc.1 by rsforbes in https://github.com/swar/nba_api/pull/280
* PlayByPlay Regex Fixes by rsforbes in https://github.com/swar/nba_api/pull/281
* V1.1.12 Final by rsforbes in https://github.com/swar/nba_api/pull/282

New Contributors
* AlexEidt made their first contribution in https://github.com/swar/nba_api/pull/235
* prateekjaipuria made their first contribution in https://github.com/swar/nba_api/pull/259

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

1.1.11

Not secure
`2021-11-08`
`Live NBA Stats`
- Adding missing Live functionality [231](https://github.com/swar/nba_api/pull/231)

1.1.10

Not secure
`2021-10-31`
`stats.nba.com`
- Added handling of multiple level column names [212](https://github.com/swar/nba_api/pull/212)
- Finding team by championship years [219](https://github.com/swar/nba_api/pull/219)
- Updated Static Player and Team Data [225](https://github.com/swar/nba_api/pull/225)
- Added `previous_season` attribute for Season Parameter [226](https://github.com/swar/nba_api/pull/226)

`Live NBA Stats`
- Randy added some Live NBA endpoints [184](https://github.com/swar/nba_api/pull/184/files)

Endpoints were unable to be tested due to outdated analyzer.

1.1.9

Not secure
`2020-08-18`
`stats.nba.com`
* Fixed bug where LeagueDashOppPtShot was missing in tests and __init__.py [152](https://github.com/swar/nba_api/pull/152)
* Adding endpoints [102](https://github.com/swar/nba_api/issues/102)
* AllTimeLeadersGrids
* BoxScoreSimilarityScore
* CumeStatsPlayer
* CumeStatsPlayerGames
* CumeStatsTeam
* CumeStatsTeamGames
* DraftBoard
* GameRotation
* GLAlumBoxScoreSimilarityScore
* LeagueHustleStatsPlayer [144](https://github.com/swar/nba_api/issues/144)
* LeagueHustleStatsPlayerLeaders [144](https://github.com/swar/nba_api/issues/144)
* LeagueHustleStatsTeam [144](https://github.com/swar/nba_api/issues/144), [#147](https://github.com/swar/nba_api/issues/147)
* LeagueHustleStatsTeamLeaders [144](https://github.com/swar/nba_api/issues/144)
* LeagueLineupViz
* LeagueStandingsV3
* MatchupsRollup
* PlayerCareerByCollege
* PlayerCareerByCollegeRollup
* PlayerEstimatedMetrics
* ShotChartLeagueWide
* TeamEstimatedMetrics

`Tools`
* Various Changes for New Endpoints including Threading

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.