Skip to content

vm/nba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA API for Player, Gamelog, Head-to-head data.

Installation

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 });

About

An API for basketball-reference data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages