Class: NbaStats::Resources::ShotChartDetail

Inherits:
ResourceBase show all
Defined in:
lib/nba_stats/resources/shot_chart_detail.rb

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :shot_chart_detail,   # :grid_type, :game_id, :game_event_id, :player_id, :player_name, :team_id, :team_name, :period, :minutes_remaining, :seconds_remaining, :event_type, :action_type, :shot_type, :shot_zone_basic, :shot_zone_area, :shot_zone_range, :shot_distance, :loc_x, :loc_y, :shot_attempted_flag, :shot_made_flag,
    :league_averages      # :grid_type, :shot_zone_basic, :shot_zone_area, :shot_zone_range, :fga, :fgm, :fg_pct,
].freeze

Instance Attribute Summary

Attributes inherited from ResourceBase

#json, #name, #params, #result_sets

Instance Method Summary collapse

Methods inherited from ResourceBase

#initialize, #to_s

Constructor Details

This class inherits a constructor from NbaStats::Resources::ResourceBase

Instance Method Details

#valid_result_setsArray

Returns:

  • (Array)


17
18
19
# File 'lib/nba_stats/resources/shot_chart_detail.rb', line 17

def valid_result_sets
  VALID_RESULT_SETS
end