Skip to main content

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.

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.

Metadata

Release files for pynbaapi 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynbaapi 0.0.1
File Size Uploaded
pynbaapi-0.0.1.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pynbaapi 0.0.1
File Interpreter ABI Platform
pynbaapi-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.6 kB

Release files / pynbaapi-0.0.1.tar.gz

Download URL pynbaapi-0.0.1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5c31768a39be663984baeed4bfc0310450f85666884c595f1f7f413537bf0937
BLAKE2b-256 checksum
How to use checksums
b83625768ceb629fbe2035f9e37fcb416a63b1223056c2e35d582a5457527b7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / pynbaapi-0.0.1-py3-none-any.whl

Download URL pynbaapi-0.0.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4bc6ddaad654f07c8f8b772110af49999a7be91e3e8aed20cfd6c7ffbd77ceb
BLAKE2b-256 checksum
How to use checksums
69a9714c34833c7df83e3d28d6e6326e40b9423beff746bc95b0c9b2bf8c6820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page