data_playlistItem_request {YTAnalytics}R Documentation

Playlist Item Data Requests - YouTube Data API

Description

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

## Not run: 
data_playlistItem_request(part = "contentDetails",
                          id = "PLA2387dsgkhfs9832hjkhuihsASDF",
                          mine = "true")

## End(Not run)

[Package YTAnalytics version 0.1.0 Index]