Module: NBA::LeagueHustleStatsPlayer
- Defined in:
- lib/nba/league_hustle_stats_player.rb
Overview
Provides methods to retrieve league-wide player hustle statistics
Constant Summary collapse
- HUSTLE_STATS_PLAYER =
Result set name for hustle stats
"HustleStatsPlayer".freeze
- REGULAR_SEASON =
Season type constant for regular season
"Regular Season".freeze
- PLAYOFFS =
Season type constant for playoffs
"Playoffs".freeze
- PER_GAME =
Per mode constant for per game stats
"PerGame".freeze
- TOTALS =
Per mode constant for totals
"Totals".freeze
Class Method Summary collapse
-
.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) ⇒ Collection
Retrieves league-wide player hustle statistics.
Class Method Details
.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) ⇒ Collection
Retrieves league-wide player hustle statistics
40 41 42 43 44 |
# File 'lib/nba/league_hustle_stats_player.rb', line 40 def self.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) path = build_path(season, season_type, per_mode) response = client.get(path) parse_response(response) end |