list_videos {tuber} | R Documentation |
List (Most Popular) Videos
Description
List (Most Popular) Videos
Usage
list_videos(
part = "contentDetails",
max_results = 50,
page_token = NULL,
hl = NULL,
region_code = NULL,
video_category_id = NULL,
...
)
Arguments
part |
Required. Comma separated string including one or more of the following: |
max_results |
Maximum number of items that should be returned. Integer. Optional. Can be between 0 and 50. Default is 50. |
page_token |
specific page in the result set that should be returned, optional |
hl |
Language used for text values. Optional. Default is |
region_code |
Character. Required. Has to be a ISO 3166-1 alpha-2 code (see https://www.iso.org/obp/ui/#search). |
video_category_id |
the video category for which the chart should be retrieved. See also |
... |
Additional arguments passed to |
Value
data.frame with 5 columns: channelId, title, assignable, etag, id
References
https://developers.google.com/youtube/v3/docs/search/list
Examples
## Not run:
# Set API token via yt_oauth() first
list_videos()
## End(Not run)