| API Parameter Name | Python Parameter Variable | Pattern | Required | Nullable |
|---|---|---|---|---|
| GameScope | game_scope_detailed | ^(Season)|(Last 10)|(Yesterday)|(Finals)$ |
Y |
|
| LeagueID | league_id | ^\d{2}$ |
Y |
|
| PlayerOrTeam | player_or_team | ^(Player)|(Team)$ |
Y |
|
| PlayerScope | player_scope | ^(All Players)|(Rookies)$ |
Y |
|
| Season | season | Y |
||
| SeasonType | season_type_playoffs | ^(Regular Season)|(Pre Season)|(Playoffs)$ |
Y |
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'DREB']
[]
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'STL']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'BLK']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'TM_DEF_RATING']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'OVERALL_PM']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'THREEP_DFGPCT']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'TWOP_DFGPCT']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'FIFETEENF_DFGPCT']
['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'DEF_RIM_PCT']
{
"data_sets": {
"DefenseHubStat1": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"DREB"
],
"DefenseHubStat10": [],
"DefenseHubStat2": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"STL"
],
"DefenseHubStat3": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"BLK"
],
"DefenseHubStat4": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"TM_DEF_RATING"
],
"DefenseHubStat5": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"OVERALL_PM"
],
"DefenseHubStat6": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"THREEP_DFGPCT"
],
"DefenseHubStat7": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"TWOP_DFGPCT"
],
"DefenseHubStat8": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"FIFETEENF_DFGPCT"
],
"DefenseHubStat9": [
"RANK",
"TEAM_ID",
"TEAM_ABBREVIATION",
"TEAM_NAME",
"DEF_RIM_PCT"
]
},
"endpoint": "DefenseHub",
"last_validated_date": "2020-08-15",
"nullable_parameters": [],
"parameter_patterns": {
"GameScope": "^(Season)|(Last 10)|(Yesterday)|(Finals)$",
"LeagueID": "^\\d{2}$",
"PlayerOrTeam": "^(Player)|(Team)$",
"PlayerScope": "^(All Players)|(Rookies)$",
"Season": null,
"SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)$"
},
"parameters": [
"GameScope",
"LeagueID",
"PlayerOrTeam",
"PlayerScope",
"Season",
"SeasonType"
],
"required_parameters": [
"GameScope",
"LeagueID",
"PlayerOrTeam",
"PlayerScope",
"Season",
"SeasonType"
],
"status": "success"
}Last validated 2020-08-16