Youtube api at Glance
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Youtube api at Glance

on

  • 1,307 views

Youtube API at Glance. presenting different type of Yotube APIs, getting data from youtube, examples and use case as (videosanjal.com). ...

Youtube API at Glance. presenting different type of Yotube APIs, getting data from youtube, examples and use case as (videosanjal.com).

@GDG Kathmandu Startup Weekend Bootcamp
Date: Jan 5th, 2013
http://mobilenepal.net/events/gdg-kathmandu-startup-weekend-bootcamp

Statistics

Views

Total Views
1,307
Views on SlideShare
1,147
Embed Views
160

Actions

Likes
1
Downloads
4
Comments
0

3 Embeds 160

http://www.mobilenepal.net 120
http://mobilenepal.net 37
https://twitter.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Youtube api at Glance Presentation Transcript

  • 1. Youtube API Ashok Basnet Nepsquare Technologies Pvt. Ltd. mail@ashokbasnet.com.np 5/1/2013
  • 2. Agenda• Introduction• Youtube APIs• Getting Youtube data• Use Case ( videosanjal.com )
  • 3. What is API ?• API ( Application Programming Interface )• Protocol intended to be used as an interface by software components to communicate with each other• A set of routines, protocols, and tools for building software applications.• A good API makes it easier to develop a program by providing all the building blocks.
  • 4. Introduction• The YouTube APIs and Tools let you bring the YouTube experience to your webpage, application, or device.• It is possible to search for videos, retrieve standard feeds, and see related content. A program can also authenticate as a user to upload videos, modify user playlists, and more
  • 5. Youtube APIs• Player API• Data API
  • 6. Youtube APIs• Version 1• Version 2 ( Recommended )• Version 3 ( Experimental ) API for android YouTube Android Player API ( Experimental) https://developers.google.com/youtube/android/player/
  • 7. YouTube Data API• Search for Videos – Keywords (tags) – Categories – Query Params (metadata)• Search for Playlists – Keywords (tags) – Categories• Search for Channels – Keywords (tags) – Categories
  • 8. YouTube Data API• Retrieve – Videos – Comments – Captions – Related Videos – Video Responses – Categories – Keywords – Playlists – Subscriptions – Profiles – Contacts – Messages – Activity Feeds – Insight Data Feed – Favorites
  • 9. YouTube Data API• Create • Update – Videos – Video Metadata – Comments – Captions – Captions – Profiles – Related Videos – Playlists – Video Responses – Contacts – Complaint • Delete – Rating – Video – Contact – Message – Message – Favorite – Favorite – Playlist – Playlist – Subscription – Subscription – Contact
  • 10. Getting Youtube Datahttp://gdata.youtube.com/feeds/api/videos/VIDEO_ID?v=2&alt=json
  • 11. For e.g.http://gdata.youtube.com/feeds/api/videos/9bZkp7q19f0?v=2&alt=jsonalt => json or xmlGives JSON Data as
  • 12. { "version": "1.0", "encoding": "UTF-8", "entry": { "published": { "$t": "2012-07-15T07:46:32.000Z" }, "title": { "$t": "PSY - GANGNAM STYLE (강남스타일) M/V" }, "media$group": { "media$category": [ { "$t": "Music", "label": "Music", "scheme":"http://gdata.youtube.com/schemas/2007/categories.cat" } ],
  • 13. "media$description": { "$t": "PSY - Gangnam Style (강남스타일) n App Store:http://goo.gl/l9TU6nGoogle Play: http://goo.gl/UiEn1nn© YGEntertainment Inc. All rights reserved.", }, "yt$duration": { "seconds": "253" } }, "yt$statistics": { "favoriteCount": "0", "viewCount": "1121801092" }, "yt$rating": { "numDislikes": "523231", "numLikes": "6549910" } }}
  • 14. Use Case
  • 15. Interface for adding videos http://www.youtube.com/watch?v=9bZkp7q19f0
  • 16. • For more info https://developers.google.com/youtube/• Use case example site http://videosanjal.com