Get playlist in the current project based on the playlist's name OR id.

get_playlist(name = NULL, id = NULL, conn)

Arguments

name

Playlist name

id

Playlist id

conn

gor connection structure, create it using platform_connect

Value

A playlist object

Examples

if (FALSE) {
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
playlist <- get_playlist(id=1, conn)
}