R/list_channel_resources.R
list_channel_resources.Rd
Returns List of Requested Channel Resources
list_channel_resources( filter = NULL, part = "contentDetails", max_results = 50, page_token = NULL, hl = "en-US", ... )
filter | string; Required.
named vector of length 1
potential names of the entry in the vector:
|
---|---|
part | a comma separated list of channel resource properties that
response will include string. Required.
One of the following: |
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 |
... | Additional arguments passed to |
list
https://developers.google.com/youtube/v3/docs/channels/list
if (FALSE) { # 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) }