Learn R Programming

tuber (version 0.2.1)

get_captions: Get Captions of a Video

Description

Get Captions of a Video

Usage

get_captions(video_id = NULL, lang = "en", ...)

Arguments

video_id
id of the video; required; no default
lang
language of the caption; required; default is english ("en")
...
Additional arguments passed to tuber_GET.

Value

captions for the video from one of the first track

References

https://developers.google.com/youtube/v3/docs/captions/list

Examples

Run this code
## Not run: 
# get_captions(video_id="yJXTXN4xrI8")
# ## End(Not run)

Run the code above in your browser using DataLab