nba_apiv3
An API Client package to access the APIs version 3 for NBA.com
nba_apiv3
is an API Client for www.nba.com
. This package intends to make the APIs of NBA.com easily accessible and provide extensive documentation about them.
nba_apiv3
is fork nba_api
package and contains only endpoints that work with API version 3.
nba_apiv3
contains two endpoints, which not work in nba_api
:
Getting Started
nba_apiv3
requires Python 3.7+ along with the requests
and numpy
packages. While pandas
is not required, it is required to work with Pandas DataFrames.
pip install nba_apiv3
NBA
from nba_apiv3.stats.endpoints import boxscorematchupsv3
matchups = boxscorematchupsv3.BoxScoreMatchupsV3(game_id='0021700807')
## players stats
matchups.get_data_frames()[0]
Documentation
Contributing
See Contributing to the NBA_APIV3 for complete details.
Bugs
Encounter a bug, report a bug.
License & Terms of Use
API Client Package
The nba_apiv3
package is Open Source with an MIT License.
NBA.com
NBA.com has a Terms of Use regarding the use of the NBA’s digital platforms.