Learn R Programming

tuber (version 0.9.9)

list_channel_sections: List Channel Sections

Description

Returns list of channel sections that channel id belongs to.

Usage

list_channel_sections(filter = NULL, part = "snippet", hl = NULL, ...)

Arguments

filter

string; Required. named vector of length 1 potential names of the entry in the vector: channel_id: Channel ID id: Section ID

part

specify which part do you want. It can only be one of the following: contentDetails, id, localizations, snippet, targeting. Default is snippet.

hl

language that will be used for text values, optional, default is en-US. See also list_langs

Additional arguments passed to tuber_GET.

Value

captions for the video from one of the first track

References

https://developers.google.com/youtube/v3/docs/activities/list

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# Set API token via yt_oauth() first

list_channel_sections(c(channel_id = "UCRw8bIz2wMLmfgAgWm903cA"))
# }

Run the code above in your browser using DataLab