powered by
Returns a list of comment threads of video or channel
ryt_get_comments( video_id = NULL, channel_id = NULL, text_format = c("plainText", "html") )
tibble with comments
YouTUbe Video ID
YouTube Channel ID
Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text. The default value is plainText
Reporting API Documentation.
if (FALSE) { # all comments comments <- ryt_get_comments() # videos comments video_comments <- ryt_get_comments(video_id = 'fW7gGS^G78') }
Run the code above in your browser using DataLab