powered by
Retrieves items from one playlist or retrieves specific playlist items by their playlist-item IDs.
list_playlist_items( playlist_id = NULL, playlist_item_ids = NULL, video_id = NULL, part = c("contentDetails", "snippet", "status"), max_results = 50, page_token = NULL, simplify = TRUE, auth = "key", ... )
A data frame when `simplify = TRUE`; otherwise a playlist-items response.
Optional playlist ID.
Optional character vector of playlist-item IDs. Supply exactly one of `playlist_id` or `playlist_item_ids`.
Optional video ID used to filter items in `playlist_id`.
Character vector of playlist-item resource parts.
Maximum total number of items to return.
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/playlistItems/list
if (FALSE) { list_playlist_items( playlist_id = "PLrEnWoR732-CN09YykVof2lxdI3MLOZda", max_results = 100 ) }
Run the code above in your browser using DataLab