get_stats: Get statistics of a Video

View source: R/get_stats.R

get_statsR Documentation

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 6 elements: id, viewCount, likeCount, dislikeCount, favoriteCount, commentCount

References

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

Examples

## Not run: 

# Set API token via yt_oauth() first

get_stats(video_id="N708P-A45D0")

## End(Not run)

soodoku/tuber documentation built on April 15, 2024, 10:19 p.m.