powered by
Retrieves channels by ID, legacy username, guide category, or the authenticated user's channel. Supply exactly one filter.
get_channel_details( channel_ids = NULL, usernames = NULL, category_id = NULL, mine = FALSE, part = c("snippet", "statistics"), max_results = 50, language = NULL, simplify = TRUE, batch_size = 50, auth = if (mine) "token" else "key", ... )get_my_channel( part = c("snippet", "statistics"), language = NULL, simplify = TRUE, ... )
get_my_channel( part = c("snippet", "statistics"), language = NULL, simplify = TRUE, ... )
A data frame when `simplify = TRUE`; otherwise a channels-list response.
Optional character vector of channel IDs.
Optional character vector of legacy YouTube usernames.
Optional guide-category ID.
If `TRUE`, retrieve the authenticated user's channel.
Character vector of channel resource parts.
Maximum number of category-filtered channels to return.
Optional language code for localized text.
If `TRUE`, return a data frame; otherwise return a channels list response with all collected items.
Number of channel IDs per request, at most 50.
Authentication method, `"key"` or `"token"`. `mine = TRUE` requires OAuth.
Additional arguments passed to [tuber_GET()].
https://developers.google.com/youtube/v3/docs/channels/list
if (FALSE) { get_channel_details(channel_ids = "UCT5Cx1l4IS3wHkJXNyuj4TA") get_channel_details(usernames = c("GoogleDevelopers", "PBS")) get_my_channel() }
Run the code above in your browser using DataLab