Youtube API v3 VideoCategories: list

Youtube API でごにょごにょしている。v2 から随分変わったんだね。

https://developers.google.com/youtube/v3/docs/videoCategories/list#embedded-explorer

スクリーンショット 2015-10-28 19.46.49

このように設定してトライ。

[cc lang=”js” width=”100%” height=”auto” line_numbers=”true” theme=”blackboard” nowrap=”false”]
{
“items”: [
{
“id”: “1”,
“snippet”: {
“title”: “Film & Animation”
}
},
{
“id”: “2”,
“snippet”: {
“title”: “Autos & Vehicles”
}
},
{
“id”: “10”,
“snippet”: {
“title”: “Music”
}
},
{
“id”: “15”,
“snippet”: {
“title”: “Pets & Animals”
}
},
{
“id”: “17”,
“snippet”: {
“title”: “Sports”
}
},
{
“id”: “18”,
“snippet”: {
“title”: “Short Movies”
}
},
{
“id”: “19”,
“snippet”: {
“title”: “Travel & Events”
}
},
{
“id”: “20”,
“snippet”: {
“title”: “Gaming”
}
},
{
“id”: “21”,
“snippet”: {
“title”: “Videoblogging”
}
},
{
“id”: “22”,
“snippet”: {
“title”: “People & Blogs”
}
},
{
“id”: “23”,
“snippet”: {
“title”: “Comedy”
}
},
{
“id”: “24”,
“snippet”: {
“title”: “Entertainment”
}
},
{
“id”: “25”,
“snippet”: {
“title”: “News & Politics”
}
},
{
“id”: “26”,
“snippet”: {
“title”: “Howto & Style”
}
},
{
“id”: “27”,
“snippet”: {
“title”: “Education”
}
},
{
“id”: “28”,
“snippet”: {
“title”: “Science & Technology”
}
},
{
“id”: “30”,
“snippet”: {
“title”: “Movies”
}
},
{
“id”: “31”,
“snippet”: {
“title”: “Anime/Animation”
}
},
{
“id”: “32”,
“snippet”: {
“title”: “Action/Adventure”
}
},
{
“id”: “33”,
“snippet”: {
“title”: “Classics”
}
},
{
“id”: “34”,
“snippet”: {
“title”: “Comedy”
}
},
{
“id”: “35”,
“snippet”: {
“title”: “Documentary”
}
},
{
“id”: “36”,
“snippet”: {
“title”: “Drama”
}
},
{
“id”: “37”,
“snippet”: {
“title”: “Family”
}
},
{
“id”: “38”,
“snippet”: {
“title”: “Foreign”
}
},
{
“id”: “39”,
“snippet”: {
“title”: “Horror”
}
},
{
“id”: “40”,
“snippet”: {
“title”: “Sci-Fi/Fantasy”
}
},
{
“id”: “41”,
“snippet”: {
“title”: “Thriller”
}
},
{
“id”: “42”,
“snippet”: {
“title”: “Shorts”
}
},
{
“id”: “43”,
“snippet”: {
“title”: “Shows”
}
},
{
“id”: “44”,
“snippet”: {
“title”: “Trailers”
}
}
]
}
[/cc]
Loading Facebook Comments ...

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です