Learn R Programming

tuber (version 2.0.0)

list_channel_activities: List Channel Activities

Description

List Channel Activities

Usage

list_channel_activities(
  channel_id,
  part = c("snippet", "contentDetails"),
  max_results = 50,
  page_token = NULL,
  published_after = NULL,
  published_before = NULL,
  region_code = NULL,
  simplify = TRUE,
  auth = "key",
  ...
)

Value

A data frame when `simplify = TRUE`; otherwise an activities-list response.

Arguments

channel_id

Channel ID.

part

Character vector of activity resource parts.

max_results

Maximum total number of activities to return.

page_token

Optional page token at which to start.

published_after

Optional RFC 3339 lower timestamp bound.

published_before

Optional RFC 3339 upper timestamp bound.

region_code

Optional ISO 3166-1 alpha-2 content-region code.

simplify

If `TRUE`, return a data frame; otherwise return the raw API response with all collected items.

auth

Authentication method, `"key"` or `"token"`.

...

Additional arguments passed to [tuber_GET()].

References

https://developers.google.com/youtube/v3/docs/activities/list

Examples

Run this code
if (FALSE) {
list_channel_activities("UCRw8bIz2wMLmfgAgWm903cA", max_results = 100)
}

Run the code above in your browser using DataLab