Learn R Programming

tuber (version 2.0.0)

get_playlist_video_ids: Get Video IDs from a Playlist

Description

Get Video IDs from a Playlist

Usage

get_playlist_video_ids(
  playlist_id,
  max_results = 50,
  page_token = NULL,
  auth = "key",
  ...
)

Value

A character vector of video IDs.

Arguments

playlist_id

Playlist ID.

max_results

Maximum total number of video IDs to return.

page_token

Optional page token at which to start.

auth

Authentication method, `"key"` or `"token"`.

...

Additional arguments passed to [list_playlist_items()].

Examples

Run this code
if (FALSE) {
get_playlist_video_ids("PLrEnWoR732-CN09YykVof2lxdI3MLOZda")
}

Run the code above in your browser using DataLab