nbawebstats

Python interface to stats.nba.com HTTP API.


Keywords
nbawebstats
License
MIT
Install
pip install nbawebstats==0.1.2

Documentation

Overview

NBAWebStats is a Python interface to the stats.nba.com HTTP API, compatible with Python 3.3-3.5.

NBAWebStats was developed from existing packages for the same purpose such as py-goldsberry, without which NBAWebStats would not be possible. Compared to py-goldsberry, NBAWebStats offers the following attributes:

  • Interface adherent to PEP 8.
  • Smaller, more maintainable code footprint due to reduced boilerplate (single ~200 line python file vs 10 files totalling ~2350 lines).
  • Centralized documentation of permitted request types and parameters online.
  • Descriptive package name.
  • Support for Python 3 (but not for Python 2).

Details