Description Usage Arguments Details Author(s) Examples
Returns a list of categories that can be associated with YouTube channels.
1 | getGuideCategories(token, id, region.code, hl = NULL)
|
token |
Your token as returned by |
id |
Specifies a comma-separated list of the YouTube channel category ID(s) for
the resource(s) that are being retrieved. In a |
region.code |
Instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. |
hl |
Specifies the language that will be used for text values in the API
response. The default value (from YouTube) is |
Must specify one (and only one) filter id
or
region.code
John Coene jcoenep@hotmail.com
1 2 3 4 5 6 7 8 | ## Not run:
token <- youOAuth(client.id = "something.apps.googleusercontent.com",
client.secret = "XxxXX1XxXxXxxx1xxx1xxXXX")
# fetch categories from Belgium
dull.cat <- getCategories(token, region.code = "BE")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.