Skip to contents

Scoring log of one finished game (scoring events only, with the running score).

Endpoint: GET https://api.preciser.io/post/game/summary/o/plg/gameId/{uuid}

Usage

pleague_preciser_score_log(uuid, gid = NULL)

Arguments

uuid

Required. The Preciser game uuid the site's game page embeds (uuid of pleague_game; empty before 2022-23, which have no vendor data), e.g. 'e6f98675-3e5b-11ed-949e-5d17350689cf' (gid 197).

gid

Optional. The site's game id for this uuid. When given the runtime also fetches the site's game page and box (cached) and checks the vendor body against them (uuid, final score, made shots, roster and minutes); the uuid must be the game page's. Without it only the checks the body allows by itself run.

Value

A hoopR_data tibble with one row per scoring event. Its columns are listed in return_columns (subset(return_columns, fn == "pleague_preciser_score_log")) and in the searchable return columns article.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in pleague_preciser_shots().

 pleague_preciser_score_log(uuid = "e6f98675-3e5b-11ed-949e-5d17350689cf")

See also

family_p_league lists every function in this family.