nba_py.team module

class nba_py.team.TeamClutchSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

This is a weird endpoint, to be honest. It’s got a lot of cool little stats and there are two extra fields in the json that I have no idea what they do.

If you know please tell me.
  • Last30Sec3Point2TeamDashboard
  • Last10Sec3Point2TeamDashboard
last10sec_deficit_3point()

Results in last 5 minutes <= 5 points

last1min_deficit_5point()

Results in last 5 minutes <= 5 points

last1min_plusminus_5point()

Last 1 minutes +/= 5 points

last30sec_deficit_3point()

Results in last 5 minutes <= 5 points

last30sec_plusminus_5point()

Last 30 seconds +/= 3 points

last3min_deficit_5point()

Results in last 5 minutes <= 5 points

last3min_plusminus_5point()

Last 3 minutes +/= 5 points

last5min_deficit_5point()

Results in last 5 minutes <= 5 points

last5min_plusminus_5point()

Last 5 minutes +/= 5 points

class nba_py.team.TeamCommonRoster(team_id, season='2016-17')
coaches()
roster()
class nba_py.team.TeamDetails(team_id)
awards_championships()
awards_conf()
awards_div()
background()
history()
hof()
retired()
social_sites()
class nba_py.team.TeamGameLogs(team_id, season='2016-17', season_type='Regular Season')
info()
class nba_py.team.TeamGeneralSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

days_rest()
location()
monthly()
pre_post_all_star()
wins_losses()
class nba_py.team.TeamInGameSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

by_actual_margin()
by_half()
by_period()
by_score_margin()
class nba_py.team.TeamLastNGamesSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

gamenumber()
last10()
last15()
last20()
last5()
class nba_py.team.TeamLineups(team_id, game_id='', group_quantity=5, season='2016-17', season_type='Regular Season', measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', last_n_games='0')
lineups()
overall()
class nba_py.team.TeamList(league_id='00')
info()
class nba_py.team.TeamOpponentSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

by_conference()
by_division()
by_opponent()
class nba_py.team.TeamPassTracking(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

passes_made()
passes_recieved()
class nba_py.team.TeamPerformanceSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

points_against()
points_scored()
score_differential()
class nba_py.team.TeamPlayerOnOffDetail(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

off_court()
on_court()
class nba_py.team.TeamPlayerOnOffSummary(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

off_court()
on_court()
class nba_py.team.TeamPlayers(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

season_totals()
class nba_py.team.TeamReboundTracking(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

contested_rebounding()
rebound_distance_rebounding()
shot_distance_rebounding()
shot_type_rebounding()
class nba_py.team.TeamSeasons(team_id, league_id='00', season_type='Regular Season', per_mode='PerGame')
info()
class nba_py.team.TeamShootingSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

assisted_by()
assisted_shots()
shot_5ft()
shot_8ft()
shot_areas()
shot_type_summary()
class nba_py.team.TeamShotTracking(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

closest_defender_shooting()
closest_defender_shooting_long()
dribble_shooting()
shot_clock_shooting()
touch_time_shooting()
class nba_py.team.TeamSummary(team_id, season='2016-17', league_id='00', season_type='Regular Season')
info()
season_ranks()
class nba_py.team.TeamVsPlayer(team_id, vs_player_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')
on_off_court()
overall()
shot_area_off_court()
shot_area_on_court()
shot_area_overall()
shot_distance_off_court()
shot_distance_on_court()
shot_distance_overall()
vs_player_overall()
class nba_py.team.TeamYearOverYearSplits(team_id, measure_type='Base', per_mode='PerGame', plus_minus='N', pace_adjust='N', rank='N', league_id='00', season='2016-17', season_type='Regular Season', po_round='0', outcome='', location='', month='0', season_segment='', date_from='', date_to='', opponent_team_id='0', vs_conference='', vs_division='', game_segment='', period='0', shot_clock_range='', last_n_games='0')

Bases: nba_py.team._TeamDashboard

by_year()