powered by
Iterate through the max_results number of playlists in channel and get the videos for each of the playlists.
max_results
list_channel_videos( channel_id = NULL, max_results = 50, page_token = NULL, hl = "en-US", ... )
list of data.frame with each list corresponding to a different playlist
data.frame
String. ID of the channel. Required.
Maximum number of videos returned. Integer. Default is 50. If the number is over 50, all the videos will be returned.
Specific page in the result set that should be returned. Optional.
Language used for text values. Optional. Default is en-US. For other allowed language codes, see list_langs
en-US
list_langs
Additional arguments passed to tuber_GET.
tuber_GET
https://developers.google.com/youtube/v3/docs/channels/list
if (FALSE) { # Set API token via yt_oauth() first list_channel_videos(channel_id = "UCXOKEdfOFxsHO_-Su3K8SHg") list_channel_videos(channel_id = "UCXOKEdfOFxsHO_-Su3K8SHg", max_results = 10) }
Run the code above in your browser using DataLab