data_video_request | R Documentation |
This is a function to make API calls to the YouTube Data API for video data.
While it can be called directly, it is primarily inteded to help get metadata about videos
such as title or description. 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/videos/list
data_video_request(
part = NULL,
chart = NULL,
hl = NULL,
id = NULL,
locale = NULL,
maxHeight = NULL,
maxResults = NULL,
maxWidth = NULL,
myRating = NULL,
onBehalfOfContentOwner = NULL,
pageToken = NULL,
regionCode = NULL,
videoCategoryId = NULL,
token = getOption("YouTube_Token")
)
part |
Required. String |
chart |
String. |
hl |
String. |
id |
String. |
locale |
String. |
maxHeight |
Integer. |
maxResults |
Integer. |
maxWidth |
Integer. |
myRating |
String. |
onBehalfOfContentOwner |
String. |
pageToken |
String. |
regionCode |
String. |
videoCategoryId |
String. |
token |
Required. |
data.frame()
## Not run:
data_video_request(part = "contentDetails",
id = "dQw4w9WgXcQ")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.