data_video_request {YTAnalytics} | R Documentation |
Video Data Requests - YouTube Data API
Description
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
Usage
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")
)
Arguments
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. |
Value
data.frame()
Examples
## Not run:
data_video_request(part = "contentDetails",
id = "dQw4w9WgXcQ")
## End(Not run)
[Package YTAnalytics version 0.1.0 Index]