Description Usage Arguments Value References Examples
Returns a list of channel events that match the request criteria.
1 2 3 4 5 6 7 8 9 10 11 |
filter |
string; Required.
named vector of length 1
potential names of the entry in the vector:
|
part |
specify which part do you want. It can only be one of the three: |
max_results |
Maximum number of items that should be returned. Integer. Optional. Can be between 0 and 50. Default is 50. |
page_token |
specific page in the result set that should be returned, optional |
published_after |
Character. Optional. RFC 339 Format. For instance, "1970-01-01T00:00:00Z" |
published_before |
Character. Optional. RFC 339 Format. For instance, "1970-01-01T00:00:00Z" |
region_code |
ISO 3166-1 alpha-2 country code, optional, see also |
simplify |
Data Type: Boolean. Default is |
... |
Additional arguments passed to |
named list
If simplify
is TRUE
, a data.frame is returned with 18 columns:
publishedAt, channelId, title, description, thumbnails.default.url, thumbnails.default.width, thumbnails.default.height,
thumbnails.medium.url, thumbnails.medium.width, thumbnails.medium.height, thumbnails.high.url, thumbnails.high.width,
thumbnails.high.height, thumbnails.standard.url, thumbnails.standard.width, thumbnails.standard.height, channelTitle, type
https://developers.google.com/youtube/v3/docs/activities/list
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Set API token via yt_oauth() first
list_channel_activities(filter = c(channel_id = "UCRw8bIz2wMLmfgAgWm903cA"))
list_channel_activities(filter = c(channel_id = "UCRw8bIz2wMLmfgAgWm903cA", regionCode="US"))
list_channel_activities(filter = c(channel_id = "UCMtFAi84ehTSYSE9XoHefig"),
published_before = "2016-02-10T00:00:00Z",
published_after = "2016-01-01T00:00:00Z")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.