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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pynbaapi-0.0.1.tar.gz
.
File metadata
- Download URL: pynbaapi-0.0.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c31768a39be663984baeed4bfc0310450f85666884c595f1f7f413537bf0937 |
|
MD5 | 9df101e83d3f76acb954a18f2b734c17 |
|
BLAKE2b-256 | b83625768ceb629fbe2035f9e37fcb416a63b1223056c2e35d582a5457527b7a |
File details
Details for the file pynbaapi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pynbaapi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4bc6ddaad654f07c8f8b772110af49999a7be91e3e8aed20cfd6c7ffbd77ceb |
|
MD5 | e73e47f5f364549c3432189b8f8a0202 |
|
BLAKE2b-256 | 69a9714c34833c7df83e3d28d6e6326e40b9423beff746bc95b0c9b2bf8c6820 |