playlists.query | R Documentation |
The playlist ID will be added as a dimension to the returned data.frame.
playlists.query( playlist_id, start_date = NULL, end_date = NULL, metrics = NULL, dimensions = NULL, sort = NULL, filters = NULL, ids = c("channel==MINE") )
playlist_id |
YouTube Playlist ID string |
start_date |
Beginning date of the query date range. |
end_date |
End date of the query date range. |
metrics |
Comma seperated string of requested metrics. |
dimensions |
Comma seperated string of requested dimensions. |
sort |
Comma seperated string of dimensions to sort by. Prepend dimension name with '-' to indicate a descending sort. |
filters |
semi-colon seperated string of filter conditions to apply to the result set. |
ids |
ID string used to determine which channel or content owner to query for data |
data.frame containing the API response rows.
Other playlists:
playlist.demographics()
,
vplaylist.query()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.