Class: NbaStats::Resources::PlayerGameLog

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

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :player_game_log  #:season_id, :player_id, :game_id, :game_date, :matchup, :wl, :min, :fgm, :fga, :fg_pct, :fg3_m, :fg3_a, :fg3_pct, :ftm, :fta, :ft_pct, :oreb, :dreb, :reb, :ast, :stl, :blk, :tov, :pf, :pts, :plus_minus, :video_available,
].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)


16
17
18
# File 'lib/nba_stats/resources/player_game_log.rb', line 16

def valid_result_sets
  VALID_RESULT_SETS
end