Module: NBA::PlayerDashPtShotDefend
- Defined in:
- lib/nba/player_dash_pt_shot_defend.rb
Overview
Provides methods to retrieve player tracking defensive shot statistics
Constant Summary collapse
- DEFENDING_SHOTS =
Result set name for defending shots
"DefendingShots".freeze
Class Method Summary collapse
-
.find(player:, team: 0, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves defensive shot statistics for a player.
Class Method Details
.find(player:, team: 0, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) ⇒ Collection
Retrieves defensive shot statistics for a player
29 30 31 32 33 34 |
# File 'lib/nba/player_dash_pt_shot_defend.rb', line 29 def self.find(player:, team: 0, season: Utils.current_season, season_type: "Regular Season", per_mode: "PerGame", client: CLIENT) path = build_path(player, team, season, season_type, per_mode) response = client.get(path) parse_response(response) end |