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.6.tar.gz (4.0 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.6-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_nbaclient-0.0.6.tar.gz
  • Upload date:
  • Size: 4.0 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.6.tar.gz
Algorithm Hash digest
SHA256 c2e57420b4e2f13aba06ee66196fd8373cfedfbcf7330db26eb09fbc62c93050
MD5 624a2ea8d7cdef56ff9b968bee0cd1ab
BLAKE2b-256 dc57ad51179b987035e44a04cc04d3e4ec995190dd3bc3e53a060496c2ea8336

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_nbaclient-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9e46ec4f54460f4b2f3e05420a4644c1702e208ee8ce5576025e46bf5c99e4d5
MD5 3eed0656c6ce783cfc5a09108c0311f4
BLAKE2b-256 21834bfb693a0e7bbe81eda2ac60b1cf88c00b9e86f6399261f4b9e485ef2d22

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