search_channels | R Documentation |
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 )
query |
A character. URl encoded search query. |
first |
A numeric. Maximum number of objects to return. Maximum: 100 Default: 20 |
after |
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. |
live_only |
A logical. Filter results for live streams only. Default: false |
clean_json |
A logical. If |
A tibble data frame of search channel data.
https://dev.twitch.tv/docs/api/reference#search-channels
Other Search:
search_categories()
## Not run: library(twitchr) twitch_auth() search_results <- search_channels("KowAndToilet") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.