Skip to main content

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

Project description

PyPI License: MIT Downloads Telegram

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.

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

nba_apiv3-0.1.1.tar.gz (79.2 kB view hashes)

Uploaded Source

Built Distribution

nba_apiv3-0.1.1-py3-none-any.whl (89.8 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