youtube_GET {YTAnalytics} | R Documentation |
this is a helper function to execute GET requests and clean data depending on what API is being called. This function can be but is not intended to be called directly.
youtube_GET(url = NULL, request = NULL, token)
url |
Required. Url path for API request |
request |
Required. Used to specify if requesting data from the YouTube Analytics API or YouTube Data api. Either 'analytics' or 'data'. |
token |
Required. |
data.frame