Module: NBA::BoxScoreSummaryV3
- Defined in:
- lib/nba/box_score_summary_v3.rb
Overview
Provides methods to retrieve game summary information using V3 API
Constant Summary collapse
- BOX_SCORE_SUMMARY =
Result set name for box score summary
"boxScoreSummary".freeze
Class Method Summary collapse
-
.find(game:, client: CLIENT) ⇒ BoxScoreSummaryV3Data?
Retrieves game summary information.
Class Method Details
.find(game:, client: CLIENT) ⇒ BoxScoreSummaryV3Data?
Retrieves game summary information
22 23 24 25 26 |
# File 'lib/nba/box_score_summary_v3.rb', line 22 def self.find(game:, client: CLIENT) game_id = Utils.extract_id(game) response = client.get("boxscoresummaryv3?GameID=#{game_id}") parse_response(response, game_id) end |