Skip to contents

A thin wrapper around the pbpstats API’s “live/game” endpoint.

Usage

get_live_game(game_id, result_type)

Arguments

game_id

Character or integer. The pbpstats ID of the game.

result_type

Character. One of:

  • "team"

  • "player"

.

Value

A tibble of live game data as returned by the API.

References

Darryl Blackport (2020). PBPStats API, MIT License. https://api.pbpstats.com/docs