50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


tuber (version 0.8.0)

list_channel_videos: Returns List of Requested Channel Videos

Description

Returns List of Requested Channel Videos

Usage

list_channel_videos(channel_id = NULL, max_results = 50, ...)

Arguments

channel_id
String. ID of the channel. Required.
max_results
Maximum number of items that should be returned. Integer. Optional. Can be between 0 and 50. Default is 50.
Additional arguments passed to tuber_GET.

Value

character vector of video IDs

References

https://developers.google.com/youtube/v3/docs/channels/list

Examples

Run this code

## Not run: ------------------------------------
# 
# # Set API token via yt_oauth() first
# 
# list_channel_videos(channel_id = "UCT5Cx1l4IS3wHkJXNyuj4TA")
# list_channel_videos(channel_id = "UCT5Cx1l4IS3wHkJXNyuj4TA", max_results=10)
## ---------------------------------------------

Run the code above in your browser using DataLab