get_video_comments: Get video comments

View source: R/hidden_endpoints.R

get_video_commentsR Documentation

Get video comments

Description

This uses undocumented API endpoints. This may change or break at anytime. Use at your own risk!. Given a video_id, return the comments/chat related to that video.

Usage

get_video_comments(video_id)

Arguments

video_id

A numeric. Video ID for the comments to extract.

Value

A list of comments related to the requested video_id. NULL is returned if the video_id does not exist.

See Also

Other Hidden Endpoints: get_chatters()

Examples

## Not run: 
library(twitchr)

twitch_auth()

video_comments <- get_video_comments(822494395)

## End(Not run)

KoderKow/twitchr documentation built on Aug. 11, 2022, 8:56 p.m.