Module: NBA::TeamDashPtReb
- Defined in:
- lib/nba/team_dash_pt_reb.rb
Overview
Provides methods to retrieve team tracking rebound statistics
Constant Summary collapse
- NUM_CONTESTED =
Result set name for number contested rebounding
"NumContestedRebounding".freeze
- OVERALL =
Result set name for overall rebounding
"OverallRebounding".freeze
- REB_DISTANCE =
Result set name for rebound distance rebounding
"RebDistanceRebounding".freeze
- SHOT_DISTANCE =
Result set name for shot distance rebounding
"ShotDistanceRebounding".freeze
- SHOT_TYPE =
Result set name for shot type rebounding
"ShotTypeRebounding".freeze
Class Method Summary collapse
-
.num_contested(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves number contested rebounding stats for a team.
-
.overall(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves overall rebounding stats for a team.
-
.reb_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves rebound distance rebounding stats for a team.
-
.shot_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves shot distance rebounding stats for a team.
-
.shot_type(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves shot type rebounding stats for a team.
Class Method Details
.num_contested(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves number contested rebounding stats for a team
43 44 45 46 |
# File 'lib/nba/team_dash_pt_reb.rb', line 43 def self.num_contested(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) fetch_stats(team, season, season_type, per_mode, NUM_CONTESTED, client: client) end |
.overall(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves overall rebounding stats for a team
59 60 61 62 |
# File 'lib/nba/team_dash_pt_reb.rb', line 59 def self.overall(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) fetch_stats(team, season, season_type, per_mode, OVERALL, client: client) end |
.reb_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves rebound distance rebounding stats for a team
75 76 77 78 |
# File 'lib/nba/team_dash_pt_reb.rb', line 75 def self.reb_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) fetch_stats(team, season, season_type, per_mode, REB_DISTANCE, client: client) end |
.shot_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves shot distance rebounding stats for a team
91 92 93 94 |
# File 'lib/nba/team_dash_pt_reb.rb', line 91 def self.shot_distance(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) fetch_stats(team, season, season_type, per_mode, SHOT_DISTANCE, client: client) end |
.shot_type(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves shot type rebounding stats for a team
107 108 109 110 |
# File 'lib/nba/team_dash_pt_reb.rb', line 107 def self.shot_type(team:, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) fetch_stats(team, season, season_type, per_mode, SHOT_TYPE, client: client) end |