R/get_stats.R
get_stats.Rd
Get statistics of a Video
get_stats(video_id = NULL, ...)
Character. Id of the video. Required.
Additional arguments passed to tuber_GET.
tuber_GET
list with 6 elements: id, viewCount, likeCount, dislikeCount, favoriteCount, commentCount
id, viewCount, likeCount, dislikeCount, favoriteCount, commentCount
https://developers.google.com/youtube/v3/docs/videos/list#parameters
if (FALSE) { # \dontrun{ # Set API token via yt_oauth() first get_stats(video_id="N708P-A45D0") } # }