# Toy example: this will error quickly (no API token)
try(set_pieces <- getSetPieces(
matches = c(0, 1),
token = "invalid"
))
# Real usage: requires valid Bearer Token from `getAccessToken()`
if (FALSE) {
set_pieces <- getSetPieces(
matches = c(84248, 158150),
token = "yourToken"
)
}
Run the code above in your browser using DataLab