標準の動画フィード (Standard feeds)

標準の動画フィードでは、

  • YouTubeユーザーの行動を反映する動画のリスト
    • 評価の高い動画
    • お気に入り登録の多い動画
    • 再生回数の多い動画
    • ほか…
  • YouTubeスタッフが選択した動画のリスト
    • おすすめ動画
    • モバイル向け動画

を取得できます。

リクエスト

http://gdata.youtube.com/feeds/api/standardfeeds/feedID
フィードID
種類 フィードID
評価の高い動画 top_rated
お気に入り登録の多い動画 top_favorites
人気の動画 most_viewed
新着動画 most_recent
話題の動画 most_discussed
リンク数の多い動画 most_linked
コメントの多い動画 most_responded
おすすめ recently_featured
携帯電話向け動画 watch_on_mobile

クエリ パラメータ

指定できるクエリは、クエリ パラメータと同一です。

レスポンス

取得例

「評価の高い動画」を取得する。 (atom形式)

http://gdata.youtube.com/feeds/api/standardfeeds/top_rated

1日以内にアップロードされた「評価の高い動画」をJSONで取得する。

http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?time=today&alt=json
{

    "version": "1.0",
    "encoding": "UTF-8",
    "feed": {
        "xmlns": "http://www.w3.org/2005/Atom",
        "xmlns$media": "http://search.yahoo.com/mrss/",
        "xmlns$openSearch": "http://a9.com/-/spec/opensearchrss/1.0/",
        "xmlns$gd": "http://schemas.google.com/g/2005",
        "xmlns$yt": "http://gdata.youtube.com/schemas/2007",
        "id": {
            "$t": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated"
        },
        "updated": {
            "$t": "2012-04-25T20:08:07.049-07:00"
        },
        "category": [
            {
                "scheme": "http://schemas.google.com/g/2005#kind",
                "term": "http://gdata.youtube.com/schemas/2007#video"
            }
        ],
        "title": {
            "$t": "Top Rated",
            "type": "text"
        },
        "logo": {
            "$t": "http://www.youtube.com/img/pic_youtubelogo_123x63.gif"
        },
        "link": [
            {
                "rel": "alternate",
                "type": "text/html",
                "href": "http://www.youtube.com/browse?s=tr"
            },
            {
                "rel": "http://schemas.google.com/g/2005#feed",
                "type": "application/atom+xml",
                "href": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated"
            },
            {
                "rel": "http://schemas.google.com/g/2005#batch",
                "type": "application/atom+xml",
                "href": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated/batch"
            },
            {
                "rel": "self",
                "type": "application/atom+xml",
                "href": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?alt=json&start-index=1&max-results=25&time=today"
            },
            {
                "rel": "next",
                "type": "application/atom+xml",
                "href": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?alt=json&start-index=26&max-results=25&time=today"
            }
        ],
        "author": [
            {
                "name": {
                    "$t": "YouTube"
                },
                "uri": {
                    "$t": "http://www.youtube.com/"
                }
            }
        ],
        "generator": {
            "$t": "YouTube data API",
            "version": "2.1",
            "uri": "http://gdata.youtube.com"
        },
        "openSearch$totalResults": {
            "$t": 100
        },
        "openSearch$startIndex": {
            "$t": 1
        },
        "openSearch$itemsPerPage": {
            "$t": 25
        },
        "entry": [
            {
                "id": {
                    "$t": "http://gdata.youtube.com/feeds/api/videos/XnduO2naI0c"
                },
                "published": {
                    "$t": "2012-04-25T00:41:05.000Z"
                },
                "updated": {
                    "$t": "2012-04-26T03:09:34.000Z"
                },
                "category": [
                    {
                        "scheme": "http://schemas.google.com/g/2005#kind",
                        "term": "http://gdata.youtube.com/schemas/2007#video"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/categories.cat",
                        "term": "Comedy",
                        "label": "コメディー"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Ray"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "William"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Johnson"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "RWJ"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Equals"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Three"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "=3"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "raywilliamjohnson"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "NINJA"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "TURTLES"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "MOVIE"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Horse"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Knocks"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Out"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Chick"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Cat"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Alarm"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Clock"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "The"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Problem"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "With"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Lay's"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Chips"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "TMNT"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Michael"
                    },
                    {
                        "scheme": "http://gdata.youtube.com/schemas/2007/keywords.cat",
                        "term": "Bay"
                    }
                ],
                "title": {
                    "$t": "NEW NINJA TURTLES MOVIE",
                    "type": "text"
                },
                "content": {
                    "$t": "NEW NINJA TURTLES MOVIE COULD POSSIBLY BE AWFUL!\n\nMY TWITTER: https://twitter.com/RayWJ \n\nMY FACEBOOK: http://www.facebook.com/raywilliamjohnson\n\nMY GOOGLE+ http://Gplus.to/RayWJ\n\nSTORE: http://www.raywj.com/shop/\n\nWEBSITE: http://raywj.com\n\n**********************************************************************\nHere are the links to the full reviews of the content discussed in this video. Please don't harass the video creators or send them hate-messages. If you like what you see on each of their channels, feel free to subscribe to them. \n:) Thanx:\n\n\n\nCat Alarm Clock: \nhttp://www.youtube.com/watch?v=4aTagDSnclk\n\nThe Problem With Lay's Chips: \nhttp://www.youtube.com/watch?&v=gUvBMIEqtPM",
                    "type": "text"
                },
                "link": [
                    {
                        "rel": "alternate",
                        "type": "text/html",
                        "href": "http://www.youtube.com/watch?v=XnduO2naI0c&feature=youtube_gdata"
                    },
                    {
                        "rel": "http://gdata.youtube.com/schemas/2007#video.responses",
                        "type": "application/atom+xml",
                        "href": "http://gdata.youtube.com/feeds/api/videos/XnduO2naI0c/responses"
                    },
                    {
                        "rel": "http://gdata.youtube.com/schemas/2007#video.related",
                        "type": "application/atom+xml",
                        "href": "http://gdata.youtube.com/feeds/api/videos/XnduO2naI0c/related"
                    },
                    {
                        "rel": "http://gdata.youtube.com/schemas/2007#mobile",
                        "type": "text/html",
                        "href": "http://m.youtube.com/details?v=XnduO2naI0c"
                    },
                    {
                        "rel": "self",
                        "type": "application/atom+xml",
                        "href": "http://gdata.youtube.com/feeds/api/standardfeeds/top_rated/v/XnduO2naI0c"
                    }
                ],
                "author": [
                    {
                        "name": {
                            "$t": "RayWilliamJohnson"
                        },
                        "uri": {
                            "$t": "http://gdata.youtube.com/feeds/api/users/RayWilliamJohnson"
                        }
                    }
                ],
                "gd$comments": {
                    "gd$feedLink": {
                        "rel": "http://gdata.youtube.com/schemas/2007#comments",
                        "href": "http://gdata.youtube.com/feeds/api/videos/XnduO2naI0c/comments",
                        "countHint": 25972
                    }
                },
                "yt$hd": { },
                "media$group": {
                    "media$category": [
                        {
                            "$t": "Comedy",
                            "label": "コメディー",
                            "scheme": "http://gdata.youtube.com/schemas/2007/categories.cat"
                        }
                    ],
                    "media$content": [
                        {
                            "url": "http://www.youtube.com/v/XnduO2naI0c?version=3&f=standard&app=youtube_gdata",
                            "type": "application/x-shockwave-flash",
                            "medium": "video",
                            "isDefault": "true",
                            "expression": "full",
                            "duration": 375,
                            "yt$format": 5
                        },
                        {
                            "url": "rtsp://v4.cache4.c.youtube.com/CiQLENy73wIaGwlHI9ppO253XhMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp",
                            "type": "video/3gpp",
                            "medium": "video",
                            "expression": "full",
                            "duration": 375,
                            "yt$format": 1
                        },
                        {
                            "url": "rtsp://v5.cache2.c.youtube.com/CiQLENy73wIaGwlHI9ppO253XhMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp",
                            "type": "video/3gpp",
                            "medium": "video",
                            "expression": "full",
                            "duration": 375,
                            "yt$format": 6
                        }
                    ],
                    "media$description": {
                        "$t": "NEW NINJA TURTLES MOVIE COULD POSSIBLY BE AWFUL!\n\nMY TWITTER: https://twitter.com/RayWJ \n\nMY FACEBOOK: http://www.facebook.com/raywilliamjohnson\n\nMY GOOGLE+ http://Gplus.to/RayWJ\n\nSTORE: http://www.raywj.com/shop/\n\nWEBSITE: http://raywj.com\n\n**********************************************************************\nHere are the links to the full reviews of the content discussed in this video. Please don't harass the video creators or send them hate-messages. If you like what you see on each of their channels, feel free to subscribe to them. \n:) Thanx:\n\n\n\nCat Alarm Clock: \nhttp://www.youtube.com/watch?v=4aTagDSnclk\n\nThe Problem With Lay's Chips: \nhttp://www.youtube.com/watch?&v=gUvBMIEqtPM",
                        "type": "plain"
                    },
                    "media$keywords": {
                        "$t": "Ray, William, Johnson, RWJ, Equals, Three, =3, raywilliamjohnson, NINJA, TURTLES, MOVIE, Horse, Knocks, Out, Chick, Cat, Alarm, Clock, The, Problem, With, Lay's, Chips, TMNT, Michael, Bay"
                    },
                    "media$player": [
                        {
                            "url": "http://www.youtube.com/watch?v=XnduO2naI0c&feature=youtube_gdata_player"
                        }
                    ],
                    "media$thumbnail": [
                        {
                            "url": "http://i.ytimg.com/vi/XnduO2naI0c/0.jpg",
                            "height": 360,
                            "width": 480,
                            "time": "00:03:07.500"
                        },
                        {
                            "url": "http://i.ytimg.com/vi/XnduO2naI0c/1.jpg",
                            "height": 90,
                            "width": 120,
                            "time": "00:01:33.750"
                        },
                        {
                            "url": "http://i.ytimg.com/vi/XnduO2naI0c/2.jpg",
                            "height": 90,
                            "width": 120,
                            "time": "00:03:07.500"
                        },
                        {
                            "url": "http://i.ytimg.com/vi/XnduO2naI0c/3.jpg",
                            "height": 90,
                            "width": 120,
                            "time": "00:04:41.250"
                        }
                    ],
                    "media$title": {
                        "$t": "NEW NINJA TURTLES MOVIE",
                        "type": "plain"
                    },
                    "yt$duration": {
                        "seconds": "375"
                    }
                },
                "gd$rating": {
                    "average": 4.6418195,
                    "max": 5,
                    "min": 1,
                    "numRaters": 37858,
                    "rel": "http://schemas.google.com/g/2005#overall"
                },
                "yt$statistics": {
                    "favoriteCount": "3052",
                    "viewCount": "1085453"
                }
            },
            { ... }
        ]
    }

}