The code is based on the nba_api
package which is is an API Client for www.nba.com
. This package intends to make the APIs of NBA.com easily accessible. nba_api
requires Python 3.7+ and other required packages should be installed using:
pip install -r requirements.txt
For this project I was interesting in using NBA.com data to try and predict game results. The idea is to collect the performance of each team in all its previous matches and use it as predictors for the current fame results.
There is 1 notebook that demonstrate the results of the proposed model for predicting NBA game results.
The main findings of the code can be found at the post available here.
The credit must be give to the creators of the nba_api
package which is Open Source with an MIT License.
NBA.com has a Terms of Use regarding the use of the NBA’s digital platforms.
Otherwise, feel free to use the code here as you would like!