View source: R/extended_endpoints.R
| get_premiere_info | R Documentation |
Checks if videos are premieres and gets premiere scheduling information.
get_premiere_info(video_id, simplify = TRUE, auth = "key", ...)
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 |
List or data frame with premiere information
## Not run:
# 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"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.