get_games | R Documentation |
Gets game information by game ID or name. For a query to be valid, name
and/or id
must be specified.
get_games(id = NULL, name = NULL, clean_json = TRUE)
id |
A numeric. Game ID. At most 100 id values can be specified. |
name |
A numeric. Game name. The name must be an exact match. For example, “Pokemon” will not return a list of Pokemon games; instead, query any specific Pokemon games in which you are interested. At most 100 name values can be specified. |
clean_json |
A logical. If |
A tibble data frame of game data.
https://dev.twitch.tv/docs/api/reference#get-games
Other Games:
get_top_games()
## Not run: library(twitchr) twitch_auth() games <- get_games(name = c("Battletoads", "Stardew Valley")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.