get_leaderboard: Get A Leaderboard

View source: R/get_leaderboard.R

get_leaderboardR Documentation

Get A Leaderboard

Description

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
## Not run: 
get_leaderboard(game = "j1l9qz1g", category = "q255jw2o")

## End(Not run)

jemus42/speedrunr documentation built on March 19, 2024, 2:35 p.m.