ryt_get_comments {rytstat} | R Documentation |
Returns a list of comment threads of video or channel
Description
Returns a list of comment threads of video or channel
Usage
ryt_get_comments(
video_id = NULL,
channel_id = NULL,
text_format = c("plainText", "html")
)
Arguments
video_id |
YouTUbe Video ID |
channel_id |
YouTube Channel ID |
text_format |
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 |
Value
tibble with comments
See Also
Examples
## Not run:
# all comments
comments <- ryt_get_comments()
# videos comments
video_comments <- ryt_get_comments(video_id = 'fW7gGS^G78')
## End(Not run)
[Package rytstat version 0.3.2 Index]