Skip to contents

This is a function to make API calls to the YouTube Data API for playlist specific data. While it can be called directly, it is primarily intended to help get lists of videos within a playlist. For more in-depth use of the Data API, please refer to tuber. For more details on the following arguments, please refer to https://developers.google.com/youtube/v3/docs/playlists/list

Usage

data_playlist_request(
  part = NULL,
  channelId = NULL,
  hl = NULL,
  id = NULL,
  maxResults = 5,
  mine = NULL,
  onBehalfOfContentOwner = NULL,
  onBehalfOfContentOwnerChannel = NULL,
  pageToken = NULL,
  token = getOption("YouTube_Token")
)

Arguments

part

Required. String.

channelId

String.

hl

String.

id

String.

maxResults

Integer.

mine

String

onBehalfOfContentOwner

String.

onBehalfOfContentOwnerChannel

String.

pageToken

String.

token

Required.

Value

data.frame

Examples

if (FALSE) { # \dontrun{
data_playlist_request(part = "contentDetails",
                      id = "PLA2387dsgkhfs9832hjkhuihsASDF",
                      mine = "true")
} # }