View source: R/create_playlist.R
create_playlist | R Documentation |
Create New Playlist
create_playlist(title, description, status, ...)
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 |
The created playlist's details.
https://developers.google.com/youtube/v3/docs/playlists/insert
## Not run:
# Set API token via yt_oauth() first
create_playlist(title = "My New Playlist", description = "This is a test playlist.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.