Description Usage Arguments Value References Examples
Get statistics of a Video
1 |
video_id |
Character. Id of the video. Required. |
... |
Additional arguments passed to |
list with 6 elements: id, viewCount, likeCount, dislikeCount, favoriteCount, commentCount
https://developers.google.com/youtube/v3/docs/videos/list#parameters
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.