Learn R Programming

tuber (version 1.4.1)

get_premiere_info: Get video premiere information

Description

Checks if videos are premieres and gets premiere scheduling information.

Usage

get_premiere_info(video_id, simplify = TRUE, auth = "key", ...)

Value

List or data frame with premiere information

Arguments

video_id

Video ID or vector of video IDs

simplify

Whether to return simplified data frame

auth

Authentication method: "token" (OAuth2) or "key" (API key)

...

Additional arguments passed to tuber_GET

Examples

Run this code
if (FALSE) {
# Check if video is a premiere
premiere_info <- get_premiere_info("dQw4w9WgXcQ")

# Check multiple videos for premiere status
premieres <- get_premiere_info(c("video1", "video2", "video3"))
}

Run the code above in your browser using DataLab