Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
/ nba_apiv3 Public archive

An API Client package to access the APIs version 3 for NBA.com

License

Notifications You must be signed in to change notification settings

shufinskiy/nba_apiv3

Repository files navigation

PyPI License: MIT Downloads Telegram

Note: Support NBA API version 3 added in nba_api package. This package switch to public archive.

nba_apiv3

An API Client package to access the APIs version 3 for NBA.com

nba_apiv3 is an API Client for www.nba.com. This package intends to make the APIs of NBA.com easily accessible and provide extensive documentation about them.

nba_apiv3 is fork nba_api package and contains only endpoints that work with API version 3.

nba_apiv3 contains two endpoints, which not work in nba_api:

Getting Started

nba_apiv3 requires Python 3.7+ along with the requests and numpy packages. While pandas is not required, it is required to work with Pandas DataFrames.

pip install nba_apiv3

NBA

from nba_apiv3.stats.endpoints import boxscorematchupsv3

matchups = boxscorematchupsv3.BoxScoreMatchupsV3(game_id='0021700807')

## players stats
matchups.get_data_frames()[0]

Documentation

Contributing

See Contributing to the NBA_APIV3 for complete details.

Bugs

Encounter a bug, report a bug.

License & Terms of Use

API Client Package

The nba_apiv3 package is Open Source with an MIT License.

NBA.com

NBA.com has a Terms of Use regarding the use of the NBA’s digital platforms.

About

An API Client package to access the APIs version 3 for NBA.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages