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.5.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for python_nbaclient-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d45c6bd081175de4e0aaebc08a45f04cf064bd6ace962b55bb4194bc2c1032 |
|
MD5 | 37ded2b05b713bda5763542bb2ae7d24 |
|
BLAKE2b-256 | db000e209bf2879a215e6cdfad1ab26c1a577cecfc7930518ef11c2e4ed5e017 |