Skip to contents

Create New Playlist

Usage

create_playlist(title, description, status, ...)

Arguments

title

string; Required. The title of the playlist.

description

string; Optional. The description of the playlist.

status

string; Optional. Default: 'public'. Can be one of: 'private', 'public', or 'unlisted'.

...

Additional arguments passed to tuber_POST.

Value

The created playlist's details.

Examples

if (FALSE) { # \dontrun{

# Set API token via yt_oauth() first

create_playlist(title = "My New Playlist", description = "This is a test playlist.")
} # }