Clone the repo.
git clone https://github.com/vm/nba.git
Install python requirements.
pip install -r requirements.txt
Create all the data.
from api import create
create('players') # Must create players first.
create('gamelogs')
create('headtoheads') # This will never finish, for now. Working on it.
To use the data, open mongo
shell.
use nba;
db.gamelogs.find({ 'Pts': 81 });