Comparateur de taille
S'inscrire
English Español

Youtube API

0
Youtube VS Vimeo API
Nom
Youtube API
Site webgoogle.com/...
Authentication
OAuth 1.0Non Deprecated, https://developers.google.com/youtube/2.0/developers_guide_protocol_oauth
OAuth 2.0Oui
Video feeds
Example of a video feedgoogle.com/...
Video search feedsOui https://gdata.youtube.com/feeds/api/videos + ?queryParameters
Standard Google Data API parametersgoogle.com/...
Custom parametersgoogle.com/...
Standard video feedsOui https://gdata.youtube.com/feeds/api/standardfeeds/parameter
parametermost_discussed: youtube.com/... top_rated: youtube.com/... top_favorites: youtube.com/... most_viewed: youtube.com/... most_shared: youtube.com/... most_popular: youtube.com/... most_recent: youtube.com/... most_responded: youtube.com/... recently_featured: youtube.com/... on_the_web: youtube.com/...
timeThis parameter is supported for the following feeds and charts: Standard video feeds (top_rated, top_favorites, most_viewed, most_popular, most_discussed, most_responded) Standard channel feeds (most_subscribed – This feed only supports the parameter values this_week, this_month, and all_time; most_viewed) Live event charts ( experimental feature) (upcoming – This feed only supports the parameter values today and this_week) Ex: youtube.com/...
regionIDEx Spain ES: youtube.com/... regionID:google.com/...
feedID_category_nameURL for feed of top-rated entertainment videos in France: youtube.com/...
Favorite videosOui https://gdata.youtube.com/feeds/api/users/default/favorites + authentication token or https://gdata.youtube.com/feeds/api/users/username/favorites
getLikersNon You can get the numLikes. <yt:rating numDislikes='28' numLikes='141'/>
User uploadsOui https://gdata.youtube.com/feeds/api/users/default/uploads + authentication token or https://gdata.youtube.com/feeds/api/users/username/uploads
Playlist feedOui Ex: https://gdata.youtube.com/feeds/api/playlists/8BCDD04DE8F771B2?v=2
Watch later feedOui https://gdata.youtube.com/feeds/api/users/username/watch_later?v=2 if in https://gdata.youtube.com/feeds/api/users/username, gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.watchlater'
Watch historyOui https://gdata.youtube.com/feeds/api/users/default/watch_history?v=2 + authentication token OR https://gdata.youtube.com/feeds/api/users/username/watch_history?v=2
Video recommendationsOui https://gdata.youtube.com/feeds/api/users/default/recommendations or https://gdata.youtube.com/feeds/api/users/username/recommendations
Related videosOui <link rel="http://gdata.youtube.com/schemas/2007#video.related" type="application/atom+xml" href="https://gdata.youtube.com/feeds/api/videos/ZTUVgYoeN_b/related?v=2"/>
Video responsesOui <link rel='http://gdata.youtube.com/schemas/2007#video.in-response-to' type='application/atom+xml' href='https://gdata.youtube.com/feeds/api/videos/HsQIoPyfQzM?v=2'/>
New subscription videosOui https://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos + authentication token OR https://gdata.youtube.com/feeds/api/users/username/newsubscriptionvideos
Channel feeds
Channel search feedsOui https://gdata.youtube.com/feeds/api/channels
API query parameters for channel searchalt, q, max-results, start-index, strict, v Ex: youtube.com/...
Standard channel feedsOui URL: https://gdata.youtube.com/feeds/api/channelstandardfeeds/parameters
parametermost_viewed: youtube.com/... most_subscribed: youtube.com/...
timeSupported values of the time parameter for the most_subscribed feed are: this_week, this_month, and all_time. Ex: youtube.com/...
regionIDEx Spain ES: youtube.com/... regionID:google.com/...
User typesValid user types that can be appended to the feed URL are Comedians, Directors, Gurus, Musicians, Non-profit, Partners, Politicians, Reporters, and Sponsors. Ex:youtube.com/...
Playlists feeds
Playlist search feedsOui https://gdata.youtube.com/feeds/api/playlists/snippets
API query parameters for playlist searchalt, q, max-results, start-index, strict, v Ex: youtube.com/...
User playlists feedOui https://gdata.youtube.com/feeds/api/users/default/playlists?v=2 + authentication token OR https://gdata.youtube.com/feeds/api/users/username/playlists?v=2
Event feeds
Live event chartsOui https://gdata.youtube.com/feeds/api/charts/live/events/parameters
featuredyoutube.com/... This feed lists promoted live events that are currently happening or will soon take place.
live_nowyoutube.com/... This feed lists live events that are currently active.
upcomingyoutube.com/... This feed lists events that will take place within the time frame specified for the time parameter. Valid parameter values are today (one day), this_week (seven days), this_month (one month), and all_time, and all_time is the default value.
recently_broadcastedyoutube.com/... This feed lists events that recently ended.
User events feedOui https://gdata.youtube.com/feeds/api/users/default/live/events?v=2 + Authentication token OR https://gdata.youtube.com/feeds/api/users/username/live/events?v=2
Comment feeds
Comment feedsOui https://gdata.youtube.com/feeds/api/videos/VIDEO_ID/comments
Subscription and activity feeds
User subscription feedOui https://gdata.youtube.com/feeds/api/users/default/subscriptions?v=2 + Authentication token OR https://gdata.youtube.com/feeds/api/users/username/subscriptions?v=2
User activity feedsOui https://gdata.youtube.com/feeds/api/users/default/events?v=2 + Authenticated token OR https://gdata.youtube.com/feeds/api/users/username/events?v=2
Inbox and contact feeds
User inbox feedOui https://gdata.youtube.com/feeds/api/users/default/inbox + Authentication token
User contacts feedOui https://gdata.youtube.com/feeds/api/users/default/contacts?v=2 + Authentication token
User profile entry
User profile entryOui https://gdata.youtube.com/feeds/api/users/default + Authentication token OR https://gdata.youtube.com/feeds/api/users/username
Rate limiting
URLgoogle.com/...
Rate limitingThe YouTube Data API supports batch processing, enabling you to execute up to 50 operations with a single API request rather than submit a separate request for each individual operation.
Key
keyDeveloper key: google.com/... google.com/...
Best practices
URLgoogle.com/...
Frameworks
English
Non listé
Publique
25 jun. 2012 11:13:05
Voir les modifications

Avis utilisateurs et commentaires

Pas de commentaires pour l'instant. Soyez le premier à laisser votre avis.