Description Usage Arguments Value
View source: R/get_top_videos.R
Converts content category to YouTube id
1 | category_to_id(key, category, region = "US")
|
key |
Your YouTube API key |
category |
Full name of YouTube content category as string. Run get_category_list() to see list of YouTube content categories. |
region |
Region. Default is "US". Run get_region_list() to see list of YouTube cntent regions. |
A string of a single category id
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.