get_games: Search for Games by Name

View source: R/get_games.R

get_gamesR Documentation

Search for Games by Name

Description

Search for Games by Name

Usage

get_games(name = "", abbreviation = NULL, ...)

Arguments

name

A search query, character.

abbreviation

An exact abbreviation as listed on speedrun.com. If this is set, name will be ignored.

...

Other named parameters passed to the API.

Value

A tibble with search results

Source

https://github.com/speedruncomorg/api/blob/master/version1/games.md#get-games

Examples

## Not run: 
# Get all games matching Ocarina of Time
get_games(name = "Ocarina of Time")

# Or directly if you know its abbreviation is oot:
get_games(abbreviation = "oot")

## End(Not run)

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