Description Usage Arguments Value References Examples
Returns List of Requested Channel Resources
1 2 3 4 5 6 7 8 | 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
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# 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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.