Returns a list of channels (users who have streamed within the past 6 months) that match the query via channel name or description either entirely or partially. Results include both live and offline channels. Online channels will have additional metadata (e.g. started_at, tag_ids).
search_channels(
query = NULL,
first = FALSE,
after = NULL,
live_only = NULL,
clean_json = TRUE
)
A character. URl encoded search query.
A numeric. Maximum number of objects to return. Maximum: 100 Default: 20
A character. Cursor for forward pagination: tells the server where to start fetching the next set of results, in a multi-page response. The cursor value specified here is from the pagination response field of a prior query.
A logical. Filter results for live streams only. Default: false
A logical. If TRUE
, clean and tidy the data. If FALSE
, return the result of httr::content
.
A tibble data frame of search channel data.
Other Search:
search_categories()
if (FALSE) {
library(twitchr)
twitch_auth()
search_results <- search_channels("KowAndToilet")
}