get_stats: Get statistics of a Video

Description Usage Arguments Value References Examples

Description

Get statistics of a Video

Usage

1
get_stats(video_id = NULL, ...)

Arguments

video_id

Character. Id of the video. Required.

...

Additional arguments passed to tuber_GET.

Value

list with 6 elements: id, viewCount, likeCount, dislikeCount, favoriteCount, commentCount

References

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

Examples

1
2
3
4
5
6
7
## Not run: 

# Set API token via yt_oauth() first

get_stats(video_id="N708P-A45D0")

## End(Not run)

tuber documentation built on July 8, 2020, 5:49 p.m.