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 hashes)
Built Distribution
Close
Hashes for python_nbaclient-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3b7289640f592d64dfaf1f05a5335fa9ddaf0d17cd1ea955c31c18a6248621 |
|
MD5 | 9af9bf74b6989c431f92ca6660dd5dac |
|
BLAKE2b-256 | 175a2abb23a250a24aca434d15e397fae8eb385dcb5a17f63a5912ba9f701dd1 |