get_cheermotes: Retrieves the list of available Cheermotes

View source: R/bits.R

get_cheermotesR Documentation

Retrieves the list of available Cheermotes

Description

Retrieves the list of available Cheermotes, animated emotes to which viewers can assign Bits, to cheer in chat. Cheermotes returned are available throughout Twitch, in all Bits-enabled channels.

Usage

get_cheermotes(broadcaster_id = NULL, clean_json = TRUE)

Arguments

broadcaster_id

A numeric. ID for the broadcaster who might own specialized Cheermotes.

clean_json

A logical. If TRUE, clean and tidy the data. If FALSE, return the result of httr::content.

Value

A tibble data frame of cheermote data.

References

https://dev.twitch.tv/docs/api/reference#get-cheermotes

Examples

## Not run: 
twitch_auth()

user <- get_users(login = "KowAndToilet")

cheermotes <- get_cheermotes(broadcaster_id = user$id)

## End(Not run)

KoderKow/twitchr documentation built on Aug. 11, 2022, 8:56 p.m.