Skip to main content

A Python Wrapper of NBA RESTful Stats APIs

Project description

python-nbaclient

A Python Wrapper of NBA Stats RESTful APIs

Installation

pip install python_nbaclient

Example

from python_nbaclient import teams
teams.FranchiseLeaders(1610612738)
{ 'parameters': {'LeagueID': None, 'TeamID': 1610612738},
  'resource': 'playerawards',
  'resultSets': [ { 'headers': [ 'TEAM_ID',
                                 'PTS',
                                 'PTS_PERSON_ID',
                                 'PTS_PLAYER',
                                 'AST',
                                 'AST_PERSON_ID',
                                 'AST_PLAYER',
                                 'REB',
                                 'REB_PERSON_ID',
                                 'REB_PLAYER',
                                 'BLK',
                                 'BLK_PERSON_ID',
                                 'BLK_PLAYER',
                                 'STL',
                                 'STL_PERSON_ID',
                                 'STL_PLAYER'],
                    'name': 'FranchiseLeaders',
                    'rowSet': [ [ 1610612738,
                                  26395,
                                  76970,
                                  'John Havlicek',
                                  6945,
                                  600003,
                                  'Bob Cousy',
                                  21620,
                                  78049,
                                  'Bill Russell',
                                  1703,
                                  305,
                                  'Robert Parish',
                                  1583,
                                  1718,
                                  'Paul Pierce']]}]}

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

python_nbaclient-0.0.7.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_nbaclient-0.0.7-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file python_nbaclient-0.0.7.tar.gz.

File metadata

  • Download URL: python_nbaclient-0.0.7.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for python_nbaclient-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c01f4a19a1e2fad623cd4b5a978d9d2ce517906182113522546235404fdd9062
MD5 d9a8acd17b3bbd13826b6cacd01b5445
BLAKE2b-256 6f4d5f6793aeac02119c764664a83a589cc0e928c874bf1558d14e3650cb4004

See more details on using hashes here.

File details

Details for the file python_nbaclient-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: python_nbaclient-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for python_nbaclient-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1e3b7289640f592d64dfaf1f05a5335fa9ddaf0d17cd1ea955c31c18a6248621
MD5 9af9bf74b6989c431f92ca6660dd5dac
BLAKE2b-256 175a2abb23a250a24aca434d15e397fae8eb385dcb5a17f63a5912ba9f701dd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page