Skip to contents

Post-game team comparison of one finished game: totals, situational points, lead tracker and top performer.

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

Usage

pleague_preciser_summary_teams(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: Post-game team comparison of one finished game: totals, situational points, lead tracker and top performer. An empty valid answer is a zero-row tibble with these columns, in this order (sportsdataverse-py pleague_preciser_summary_teams):

col_nametypedescription
game_uuidcharacterPreciser game uuid (key space: the vendor's games, a version-1 uuid), the uuid asked for; uuid of pleague_game.
sidecharacterWhich team the row belongs to: home or away.
team_uuidcharacterPreciser team uuid (key space: the vendor's teams; the file name of the club logo). Joins the site team_id through pleague_standings.team_uuid: 1 = e86394aa-3d88-11ed-8ba8-7f44ba46b0b1 ((Chinese text), Taipei Fubon Braves); 2 = e865bb20-3d88-11ed-a956-7f44ba46b0b1 ((Chinese text), Taoyuan Pauian Pilots (Taoyuan Pilots from 2024-25)); 3 = e8674343-3d88-11ed-98b4-7f44ba46b0b1 ((Chinese text), Hsinchu Jko Lioneers (Toplus Lioneers from 2023-24)); 4 = e869743f-3d88-11ed-925e-7f44ba46b0b1 ((Chinese text), Formosa Taishin Dreamers (Formosa Dreamers from 2022-23)); 5 = e86cac11-3d88-11ed-8637-7f44ba46b0b1 ((Chinese text), Kaohsiung 17LIVE Steelers); 6 = e86b0ecc-3d88-11ed-bed5-7f44ba46b0b1 ((Chinese text), New Taipei Kings); 7 = 3c3a601a-358a-11ed-ab92-711c34ed1298 ((Chinese text), TSG Ghosthawks); 8 = bf957f5a-9389-11f0-812c-a38482ec4d30 ((Chinese text), Yankey Ark).
team_name_zhcharacterTeam full name in Traditional Chinese ((Chinese text) = Taipei Fubon Braves, (Chinese text) = Taoyuan Pauian Pilots, (Chinese text) = Hsinchu Toplus Lioneers, (Chinese text) = Formosa Dreamers, (Chinese text) = Kaohsiung 17LIVE Steelers, (Chinese text) = New Taipei Kings, (Chinese text) = TSG Ghosthawks).
colorcharacterTeam colour as a CSS hex string.
logo_urlcharacterTeam logo url (photonew.preciser.io/plg/teams/{team uuid}.png).
pointsintegerTeam points (the comparison block).
reboundsintegerTeam total rebounds (the comparison block).
assistsintegerTeam assists (the comparison block).
stealsintegerTeam steals (the comparison block).
blocksintegerTeam blocks made (the comparison block).
turnoversintegerTeam turnovers.
fg_madeintegerTeam field goals MADE: the vendor's key is field_goal_percentage but the value is a count of makes.
fg2_pctdoubleTeam 2-point percentage 0-100.
fg3_pctdoubleTeam 3-point percentage 0-100.
ft_pctdoubleTeam free-throw percentage 0-100.
fast_break_pointsdoubleTeam fast-break points.
paint_pointsdoubleTeam points in the paint.
second_chance_pointsdoubleTeam second-chance points.
biggest_leadintegerThe team's largest lead in points.
biggest_scoring_runintegerThe team's longest unanswered scoring run, in points.
time_leading_secondsintegerSeconds the team led.
lead_changesintegerNumber of lead changes in the game (the same for both rows).
top_player_namecharacterName of the team's top performer (Traditional Chinese or a transliteration).
top_player_jerseycharacterShirt number of the top performer as a string.
top_player_pointsintegerPoints of the top performer in the game.
top_player_reboundsintegerTotal rebounds of the top performer in the game.
top_player_assistsintegerAssists of the top performer in the game.

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_summary_teams(uuid = "e6f98675-3e5b-11ed-949e-5d17350689cf")