Skip to contents

This is a function to make API calls to the YouTube Data API for playlist item 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/playlistItems/list

Usage

data_playlistItem_request(
  part = NULL,
  id = NULL,
  maxResults = 5,
  onBehalfOfContentOwner = NULL,
  pageToken = NULL,
  playlistId = NULL,
  videoId = NULL,
  token = getOption("YouTube_Token")
)

Arguments

part

Required. String.

id

String.

maxResults

Integer.

onBehalfOfContentOwner

String.

pageToken

String.

playlistId

String.

videoId

String.

token

Required.

Value

data.frame

Examples

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