View source: R/list_channel_resources.R
| list_channel_resources | R Documentation |
Returns List of Requested Channel Resources
list_channel_resources(
filter = NULL,
part = "contentDetails",
max_results = 50,
page_token = NULL,
hl = "en-US",
simplify = TRUE,
...
)
filter |
string; Required.
named vector with a single valid name
potential names of the entry in the vector:
|
part |
a comma-separated list of channel resource properties that
response will include a string. Required.
One of the following: |
max_results |
Maximum number of items that should be returned. Integer. Optional. Default is 50. Values over 50 will trigger additional requests and may increase API quota usage. |
page_token |
specific page in the result set that should be returned, optional |
hl |
Language used for text values. Optional. The default is |
simplify |
Logical. If TRUE, returns a data frame. If FALSE, returns raw list. Default: TRUE. |
... |
Additional arguments passed to |
If simplify = TRUE (default) or username is used in filter,
a data frame. Otherwise returns a list.
https://developers.google.com/youtube/v3/docs/channels/list
## 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")
list_channel_resources(filter = c(username = c("latenight", "PBS")),
part = "id")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.