Games

Get Game Summary

Changed on

Get the game summary with final scores and team totals.

Returns aggregated team statistics including points, rebounds, assists, steals, blocks, turnovers, and shooting stats.

Requires League header and x-api-key header.

Args: game_id: The game identifier (UUID string) conn: Database connection (injected)

Returns: GameSummaryResponse with game metadata and team statistics

get/api/v1/games/{game_id}/summary

Request

  • Base URL
    https://developer.preciser.io
  • URL
    https://developer.preciser.io/api/v1/games/{game_id}/summary
  • Auth
    none declared. Required headers: x-api-key, League

Path parameters

game_idstring required

Headers

x-api-keystring required

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

game_idstring required

Game identifier

competition_idstring nullable

Stable league/competition identifier for the game

Changes

    • breaking

      the header request parameter League became required

    • breaking

      the header request parameter x-api-key became required

    • breaking

      header request parameter League list-of-types was narrowed by removing types null

    • breaking

      header request parameter x-api-key list-of-types was narrowed by removing types null

    • info

      for the header request parameter League, the type was generalized from no type to string

    • info

      for the header request parameter x-api-key, the type was generalized from no type to string

    • info

      added the optional property to the response with the status