Retrieves channels by ID, legacy username, or the authenticated user's channel. Supply exactly one filter.
Arguments
- channel_ids
Optional character vector of channel IDs.
- usernames
Optional character vector of legacy YouTube usernames.
- mine
If `TRUE`, retrieve the authenticated user's channel.
- part
Character vector of channel resource parts.
- language
Optional language code for localized text.
- simplify
If `TRUE`, return a data frame; otherwise return a channels list response with all collected items.
- batch_size
Number of channel IDs per request, at most 50.
- auth
Authentication method, `"key"` or `"token"`. `mine = TRUE` requires OAuth.
Examples
if (FALSE) { # \dontrun{
get_channel_details(channel_ids = "UCT5Cx1l4IS3wHkJXNyuj4TA")
get_channel_details(usernames = c("GoogleDevelopers", "PBS"))
get_my_channel()
} # }