Returns List of Requested Channel Resources
Source:R/list_channel_resources.R
list_channel_resources.Rd
Returns List of Requested Channel Resources
Usage
list_channel_resources(
filter = NULL,
part = "contentDetails",
max_results = 50,
page_token = NULL,
hl = "en-US",
...
)
Arguments
- filter
string; Required. named vector of length 1 potential names of the entry in the vector:
category_id
: YouTube guide category that returns channels associated with that categoryusername
: YouTube username that returns channel associated with that username.channel_id
: a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved- part
a comma separated list of channel resource properties that response will include string. Required. One of the following:
auditDetails, brandingSettings, contentDetails, contentOwnerDetails, id, invideoPromotion, localizations, snippet, statistics, status, topicDetails
. Default iscontentDetails
.- max_results
Maximum number of items that should be returned. Integer. Optional. Can be between 0 and 50. Default is 50.
- page_token
specific page in the result set that should be returned, optional
- hl
Language used for text values. Optional. Default is
en-US
. For other allowed language codes, seelist_langs
.- ...
Additional arguments passed to
tuber_GET
.
Examples
if (FALSE) { # \dontrun{
# Set API token via yt_oauth() first
list_channel_resources(filter = c(channel_id = "UCT5Cx1l4IS3wHkJXNyuj4TA"))
list_channel_resources(filter = c(username = "latenight"), part = "id, contentDetails")
list_channel_resources(filter = c(username = "latenight"), part = "id, contentDetails",
max_results = 10)
} # }