if (FALSE) {
# Get live streams for a channel
streams <- get_live_streams(status = "active")
# Get specific live stream details
stream <- get_live_streams(stream_id = "abc123", part = c("snippet", "status"))
}
Run the code above in your browser using DataLab