-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,18 +26,6 @@ def team_stats(self): | |
return self._get_table_from_data(self._data_tables, 1) | ||
|
||
|
||
class boxscore_hustle(NbaDataProvider): | ||
def __init__(self, gameid, **kwargs): | ||
url_modifier = 'hustlestatsboxscore' | ||
NbaDataProvider.__init__(self, url_modifier=url_modifier, GameID=gameid, **kwargs) | ||
|
||
def player_stats(self): | ||
return self._get_table_from_data(self._data_tables, 0) | ||
|
||
def team_stats(self): | ||
return self._get_table_from_data(self._data_tables, 1) | ||
|
||
|
||
class boxscore_miscellaneous(NbaDataProvider): | ||
def __init__(self, gameid, **kwargs): | ||
url_modifier = 'boxscoremiscv2' | ||
|
@@ -143,24 +131,6 @@ def _available_video(self): | |
return self._get_table_from_data(self._data_tables, 1) | ||
|
||
|
||
class win_probability(NbaDataProvider): | ||
def __init__(self, gameid, **kwargs): | ||
url_modifier = 'winprobabilitypbp' | ||
NbaDataProvider.__init__(self, url_modifier=url_modifier, GameID=gameid, RunType='each+second', **kwargs) | ||
|
||
def win_probability(self): | ||
return self._get_table_from_data(self._data_tables, 0) | ||
|
||
|
||
class fan_duel_scores(NbaDataProvider): | ||
def __init__(self, gameid, **kwargs): | ||
url_modifier = 'infographicfanduelplayer' | ||
NbaDataProvider.__init__(self, url_modifier=url_modifier, GameID=gameid, RunType='each+second', **kwargs) | ||
|
||
def daily_fantasy(self): | ||
return self._get_table_from_data(self._data_tables, 0) | ||
|
||
|
||
# Courtesy of [email protected] | ||
class GameIDs(NbaDataProvider): | ||
def __init__(self, **kwargs): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters