powered by
Retrieves the `mostPopular` videos chart.
list_popular_videos( region_code = NULL, category_id = NULL, max_results = 50, part = c("snippet", "statistics"), language = NULL, page_token = NULL, simplify = TRUE, auth = "key", ... )
A data frame when `simplify = TRUE`; otherwise a videos-list response.
Optional ISO 3166-1 alpha-2 content-region code.
Optional video-category ID.
Maximum total number of videos to return.
Character vector of video resource parts.
Optional language code for localized text.
Optional page token at which to start.
If `TRUE`, return a data frame; otherwise return the raw API response with all collected items.
Authentication method, `"key"` or `"token"`.
Additional arguments passed to [tuber_GET()].
https://developers.google.com/youtube/v3/docs/videos/list
if (FALSE) { list_popular_videos(region_code = "US", max_results = 10) }
Run the code above in your browser using DataLab