Skip to content

Instantly share code, notes, and snippets.

@javidjamae
Created February 12, 2014 00:03
Show Gist options
  • Save javidjamae/8947130 to your computer and use it in GitHub Desktop.
Save javidjamae/8947130 to your computer and use it in GitHub Desktop.
Ruby Hash with all of the Youtube categories and their ids
YOUTUBE_CATEGORIES = {
"Film & Animation" => 1,
"Autos & Vehicles" => 2,
"Music" => 10,
"Pets & Animals" => 15,
"Sports" => 17,
"Short Movies" => 18,
"Travel & Events" => 19,
"Gaming" => 20,
"Videoblogging" => 21,
"People & Blogs" => 22,
"Comedy" => 23,
"Entertainment" => 24,
"News & Politics" => 25,
"Howto & Style" => 26,
"Education" => 27,
"Science & Technology" => 28,
"Nonprofits & Activism" => 29,
"Movies" => 30,
"Anime/Animation" => 31,
"Action/Adventure" => 32,
"Classics" => 33,
"Comedy" => 34,
"Documentary" => 35,
"Drama" => 36,
"Family" => 37,
"Foreign" => 38,
"Horror" => 39,
"Sci-Fi/Fantasy" => 40,
"Thriller" => 41,
"Shorts" => 42,
"Shows" => 43,
"Trailers" => 44
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment