Description Usage Arguments Value References Examples
Get Subscriptions
1 2 3 4 5 6 7 8 9 |
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
1 2 3 4 5 6 7 | ## Not run:
# Set API token via yt_oauth() first
get_subscriptions(filter = c(channel_id = "UChTJTbr5kf3hYazJZO-euHg"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.