https://github.com/toddrob99/pynbaapi
Python API Wrapper for NBA API
https://github.com/toddrob99/pynbaapi
Last synced: over 1 year ago
JSON representation
Python API Wrapper for NBA API
- Host: GitHub
- URL: https://github.com/toddrob99/pynbaapi
- Owner: toddrob99
- License: mit
- Created: 2021-10-27T15:35:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T18:20:51.000Z (over 4 years ago)
- Last Synced: 2025-02-28T01:00:37.183Z (over 1 year ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/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.