Module: NBA::LeagueDashPlayerBioStats
- Defined in:
- lib/nba/league_dash_player_bio_stats.rb
Overview
Provides methods to retrieve league-wide player biographical statistics
Constant Summary collapse
- LEAGUE_DASH_PLAYER_BIO_STATS =
Result set name for league dash player bio stats
"LeagueDashPlayerBioStats".freeze
- REGULAR_SEASON =
Regular season type constant
"Regular Season".freeze
- PLAYOFFS =
Playoffs season type constant
"Playoffs".freeze
- PER_GAME =
Per game mode constant
"PerGame".freeze
- TOTALS =
Totals mode constant
"Totals".freeze
Class Method Summary collapse
-
.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) ⇒ Collection
Retrieves all league-wide player biographical statistics.
Class Method Details
.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) ⇒ Collection
Retrieves all league-wide player biographical statistics
43 44 45 46 47 |
# File 'lib/nba/league_dash_player_bio_stats.rb', line 43 def self.all(season: Utils.current_season, season_type: REGULAR_SEASON, per_mode: PER_GAME, client: CLIENT) path = build_path(season, season_type: season_type, per_mode: per_mode) response = client.get(path) parse_response(response) end |