nba_api
An API Client package to access the APIs for NBA.com
Development Version: v1.0.7
nba_api
is an API Client for www.nba.com
. This package is meant to make the API Endpoints more accessible and to provide extensive documentation.
The APIs on www.nba.com
are largely undocumented and change frequently.
Please feel free to contribute and have an open discussion regarding improvements and additional APIs to be mapped.
Mapped API Clients
stats.nba.com
-stats
Installation
pip install nba_api
Required and Optional Packages
Endpoint Analysis
A major purpose of this package is to map and analyze as many endpoints on NBA.com as possible. The documentation and analysis on the Endpoints and Parameters found in this package is some of the most extensive information available on these largely undocumented Endpoints. Please open an issue with any additional Endpoints/APIs.
Endpoint Analysis JSON for use with other clients
Usage Examples
-
- Here you can see usage of the package in practical problems, like looking for play-by-play data for a particular game.