get_all_videos: Get all follows

View source: R/videos.R

get_all_videosR Documentation

Get all follows

Description

Get all follows

Usage

get_all_videos(
  id = NULL,
  user_id = NULL,
  game_id = NULL,
  language = NULL,
  period = NULL,
  sort = NULL,
  type = NULL,
  clean_json = TRUE
)

Arguments

id

A string. Required (Read Documentation for more information). ID of the video being queried. Limit: 100. If this is specified, you cannot use any of the optional query parameters below.

user_id

A string. Required (Read Documentation for more information). ID of the user who owns the video. Limit 1.

game_id

A string. Required (Read Documentation for more information). ID of the game the video is of. Limit 1.

language

A string. Optional. Language of the video being queried. Limit: 1.

period

A string. Optional. Period during which the video was created. Valid values: "all", "day", "week", "month". Default: "all".

sort

A string. Optional. Sort order of the videos. Valid values: "time", "trending", "views". Default: "time".

type

A string. Optional. ype of video. Valid values: "all", "upload", "archive", "highlight". Default: "all".

clean_json

A logical. If TRUE, clean and tidy the data. If FALSE, return the result of httr::content.

References

https://dev.twitch.tv/docs/api/reference#get-videos

See Also

Other Videos: get_videos()

Examples

## Not run: 
library(twitchr)

twitch_auth()

all_videos <- get_all_videos(user_id = 613890167)

## End(Not run)

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