Description Usage Arguments Value References Examples
Iterate through the max_results
number of playlists in channel and get
the videos for each of the playlists.
1 2 3 4 5 6 7 | list_channel_videos(
channel_id = NULL,
max_results = 50,
page_token = NULL,
hl = "en-US",
...
)
|
channel_id |
String. ID of the channel. Required. |
max_results |
Maximum number of videos returned. Integer. Default is 50. If the number is over 50, all the videos will be returned. |
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 of data.frame
with each list corresponding to a different
playlist
https://developers.google.com/youtube/v3/docs/channels/list
1 2 3 4 5 6 7 8 | ## Not run:
# Set API token via yt_oauth() first
list_channel_videos(channel_id = "UCXOKEdfOFxsHO_-Su3K8SHg")
list_channel_videos(channel_id = "UCXOKEdfOFxsHO_-Su3K8SHg", max_results = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.