Skip to contents

Get A Leaderboard

Usage

get_leaderboard(game, category, level = NULL, top = 100, ...)

Arguments

game

The game's id (mandatory).

category

The category id (mandatory).

level

The level id, if a per-level leaderboard is requested.

top

[100]. How many places to return. Note there might be multiple runs per place.

...

Optional arguments to the API.

Value

A tibble of length top with run data.

Examples

# Get the Ocarina of Time 100% leaderboard
if (FALSE) {
get_leaderboard(game = "j1l9qz1g", category = "q255jw2o")
}