Retrieves subscription resources using exactly one YouTube filter.
list_subscriptions(
channel_id = NULL,
subscription_ids = NULL,
mine = FALSE,
my_recent_subscribers = FALSE,
my_subscribers = FALSE,
for_channel_ids = NULL,
part = c("snippet", "contentDetails"),
order = "relevance",
max_results = 50,
page_token = NULL,
simplify = TRUE,
auth = if (mine || my_recent_subscribers || my_subscribers) "token" else "key",
...
)A data frame when `simplify = TRUE`; otherwise a subscriptions-list response.
Optional channel whose public subscriptions to retrieve.
Optional character vector of subscription IDs.
If `TRUE`, retrieve channels the authenticated user subscribes to.
If `TRUE`, retrieve the authenticated channel's recent subscribers.
If `TRUE`, retrieve the authenticated channel's subscribers.
Optional channel IDs used to narrow matching subscriptions.
Character vector of subscription resource parts.
Sort order: `"alphabetical"`, `"relevance"`, or `"unread"`.
Maximum total number of subscriptions to return.
Optional page token at which to start.
If `TRUE`, return a data frame; otherwise return the raw API response with all collected items.
Authentication method, `"key"` or `"token"`. Authenticated-user filters require OAuth.
Additional arguments passed to [tuber_GET()].
https://developers.google.com/youtube/v3/docs/subscriptions/list
if (FALSE) {
list_subscriptions(channel_id = "UChTJTbr5kf3hYazJZO-euHg")
list_subscriptions(mine = TRUE)
}
Run the code above in your browser using DataLab