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 hashes)
Built Distribution
Close
Hashes for python_nbaclient-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e46ec4f54460f4b2f3e05420a4644c1702e208ee8ce5576025e46bf5c99e4d5 |
|
MD5 | 3eed0656c6ce783cfc5a09108c0311f4 |
|
BLAKE2b-256 | 21834bfb693a0e7bbe81eda2ac60b1cf88c00b9e86f6399261f4b9e485ef2d22 |