Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Player Tracking Stats #109

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Player Tracking Stats #109

wants to merge 13 commits into from

Conversation

BenikaH
Copy link

@BenikaH BenikaH commented Feb 17, 2018

Added the endpoints and PTMeasureType for the second spectrum stats available on stats.nba.com.

Hope this is useful for other nba_py users.

BenikaH and others added 13 commits February 17, 2018 16:48
Added endpoints for player tracking to get second spectrum stats.
Changed current season to 2017-18 in constants.py.
I have found 24 endpoints from stats.nba.com that are not currently included in nba_py

Here are first 6 new endpoints in 6 new classes that can hopefully be added to the master repo

I'm quite new to Python and GitHub so please let me know if I'm doing anything wrong, but hopefully I did enough testing on these classes before committing.
Fixed Travis CI suggestions
Added some parameters that aren't required but can be provided anyway
Team hustle stats!

Two new endpoints with their classes:  TeamHustleLeaders (endpoint: leaguehustlestatsteamleaders) and TeamHustleStats (endpoint: leaguehustlestatsteam)
Player hustle stats added!  10 of 24 new endpoints now added (if you include teams.py).

In this update:  Two new endpoints with their classes:  PlayerHustleLeaders (endpoint: leaguehustlestatsplayerleaders) and PlayerHustleStats (endpoint: leaguehustlestatsplayer)
fixed Travis CI whitespace issues and added call to _api_scrape inside TeamHustleStats
Travis CI whitespace issues fixed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants