Skip to main content

NBA API Wrapper for Python

Project description

pynbaapi

Python Wrapper for NBA API

Created by Todd Roberts

Installation

Install from pip:

pip install pynbaapi

or

py -m pip install pynbaapi

Use

See examples.py in the examples folder for some example uses.

There are other methods in the pynba.nba.NBA() object, and the pynba.api.API() object has a from_url method that can be used to retrieve arbitrary URLs (as long as the response is in nested json format, which many of the NBA API endpoints are not).

Support

I do not provide support related to NBA API. There is good documentation on the swar/nba_api repo, and this package was only created because the nba_api package does not (appear to) return API responses in recursive objects.

Copyright Notice

This package and its author are not affiliated with NBA or any NBA team. This API wrapper interfaces with NBA's API. Use of NBA data is subject to copyright by NBA.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynbaapi-0.0.1.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

pynbaapi-0.0.1-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page