module NbaStats::DraftCombineStats
Constants
- DRAFT_COMBINE_STATS_PATH
The path of the draftcombinestats API
Public Instance Methods
draft_combine_stats( season_year, league_id=NbaStats::Constants::LEAGUE_ID_NBA )
click to toggle source
Calls the draftcombinestats API and returns a DraftCombineStats
resource.
@param season_year [String] @param league_id [String] @return [NbaStats::Resources::DraftCombineStats]
# File lib/nba_stats/stats/draft_combine_stats.rb, line 15 def draft_combine_stats( season_year, league_id=NbaStats::Constants::LEAGUE_ID_NBA ) NbaStats::Resources::DraftCombineStats.new( get(DRAFT_COMBINE_STATS_PATH, { :LeagueID => league_id, :SeasonYear => season_year }) ) end