Learn R Programming

tuber (version 0.2.1)

get_stats: Get statistics of a Video

Description

Get statistics of a Video

Usage

get_stats(video_id = NULL, ...)

Arguments

video_id
Character. Id of the video. Required.
...
Additional arguments passed to tuber_GET.

Value

list with 5 elements: viewCount, likeCount, dislikeCount, favoriteCount, commentCount

References

https://developers.google.com/youtube/v3/docs/videos/list#parameters

Examples

Run this code
## Not run: 
# get_stats(video_id="N708P-A45D0")
# ## End(Not run)

Run the code above in your browser using DataLab