Get Subscriptions
get_subscriptions( filter = NULL, part = "contentDetails", max_results = 50, for_channel_id = NULL, order = NULL, page_token = NULL, ... )
filter | string; Required.
named vector of length 1
potential names of the entry in the vector:
|
---|---|
part | Part of the resource requested. Required. Character.
A comma separated list of one or more of the following:
|
max_results | Maximum number of items that should be returned. Integer. Optional. Can be between 0 and 50. Default is 50. |
for_channel_id | Optional. String. A comma-separated list of channel IDs. Limits response to subscriptions matching those channels. |
order | method that will be used to sort resources in the API response. Takes one of the following: alphabetical, relevance, unread |
page_token | Specific page in the result set that should be returned. Optional. String. |
... | Additional arguments passed to |
named list of subscriptions
https://developers.google.com/youtube/v3/docs/subscriptions/list
if (FALSE) { # Set API token via yt_oauth() first get_subscriptions(filter = c(channel_id = "UChTJTbr5kf3hYazJZO-euHg")) }