Skip to content

Python client for NBA statistics located at stats.nba.com

License

Notifications You must be signed in to change notification settings

XiandongHu/nba_py

 
 

Repository files navigation

PyPI Travis License Documentation Status Join the chat at https://gitter.im/seemethere/nba_py

nba_py - stats.nba.com API for python

Stable version: v0.1a1

This branches version: v0.1a2

Summary

A python facing API for stats.nba.com (Still in heavy development)

Originally based off https://github.com/bradleyfay/NBAStats

Installation

NOTE: Developmental builds, are by no means stable If you want the stable version use:

$ pip install nba_py

Else:

  • Download from source (git clone, zipped package)
  • Run from the root directory:
$ pip install .

Requirements Requires.io

Nice to have

Pandas is nice to have because it'll put the data in an easy to manage object, but it is by no means necessary. All data, if pandas is not installed is returned in a nice json list format with headers!

Requests-cache is nice to have when you are downloading very large datasets so that subsequent downloads take much less time, but again, it is by no means necessary.

Completed work

Planned development

1. Documentation

  • All around documentation not only of nba_py but also stats.nba.com (it's pretty nonexistent)

2. Map rest of API (Completed)

About

Python client for NBA statistics located at stats.nba.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%