• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Google APIs
 

Introduction to Google APIs

on

  • 1,675 views

http://barcampbangalore.org/bcb/bcb12/google-apis-and-google-app-engine-introduction-demo

http://barcampbangalore.org/bcb/bcb12/google-apis-and-google-app-engine-introduction-demo

Statistics

Views

Total Views
1,675
Views on SlideShare
1,672
Embed Views
3

Actions

Likes
1
Downloads
0
Comments
0

2 Embeds 3

http://pinterest.com 2
https://duckduckgo.com 1

Accessibility

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

    Introduction to Google APIs Introduction to Google APIs Presentation Transcript

    • Introduction to Google APIs August 25, 2012 Sivasubramaniam Arunachalamhttp://barcampbangalore.org/bcb/bcb12/google-apis-and-google-app-engine-introduction-demo
    • http://www.ebaypartnernetworkblog.com/en/files/2011/05/api1.gif
    • Agenda• What is an API?• REST - Introduction• Google APIs• Demo
    • API“Specification intended to be used as an interfaceby software components to communicate witheach other”
    • Language Dependent APIs• Python (pydoc)• Ruby (ri)• Perl (perldoc)• Java (javadoc)• Unix (man)
    • Language Independent APIs • RPCs • CORBA • Web Services
    • Evolution • Web 2.0 & 3.0 • Web Services "A software system designed to support interoperable machine-to-machine interaction over a network" (W3C)
    • Web APIs• HTTP, HTTP & HTTP • XML • JSON• Mash-ups • Enterprise • Consumer • Data
    • Web Services• SOAP • Heavy Weight • Suitable for Enterprises• REST • Light Weight • Suitable for Web APIs
    • Why REST?• Ease of Development & Deployment• Serves the actual purpose of HTTP• Cache Proxies• Human readable results• Flexile Formats• Better Performance• Better Browser Support• Social Media Authentication
    • REST - Introduction• Architectural Style• Uses only HTTP• Stateless• Clean URL (Slugs & SEO)
    • REST - Components• Origin Servers • Gateways • Proxies• Clients• Client (Requested By)• Server (Provided By)• Resource (What is being exchanged)• Representation
    • REST - Methods• GET• PUT• POST• DELETEhttp://provider.com/resources/ http://provider.com/resources/entry05
    • REST – Methods (GET)http://provider.com/resources/http://provider.com/resources/entry05•List•Retrieve
    • REST – Methods (PUT & POST) http://provider.com/resources/ http://provider.com/resources/entry05 •Replace •Replace/Create
    • REST – Methods (DELETE) http://provider.com/resources/ http://provider.com/resources/entry05 •Delete the List •Delete the Entry
    • PUT vs POST• Explicit URL Name in request (PUT)• Idempotent (PUT) • No Duplicate• PUT - Same URL for (Create/Update)
    • PUT• /resources/<existing_resource> (update)• /resources/<new_resource> (Create)
    • POST• /resources (Create and URL will be returned)• /resources/<existing_resource> (Update)• /resources/<new_resource> (Error)
    • OAuth 2.0 Flow http://tutorials.jenkov.com/oauth2/overview.html
    • OAuth 2.0 Flow (Contd…) http://www.ibm.com/developerworks/library/x-androidfacebookapi/index.html
    • Google APIs• Data APIs (Demo in few minutes)• Ajax APIs • JS & HTML • Rich dynamic web sites• Ads APIs • Adsense • Adwords • (SOAP Based)
    • Google Data APIs• 46 Apps• Tools • API Explorer • API Console • OAuth 2.0 Playground
    • Demo• Discovery• Books• URL Shorter• Tasks• Google +• Others
    • Questions (?)
    • Thank You! siva@sivaa.in @sivaa_in
    • References• http://en.wikipedia.org/wiki/Application_programming_interface• http://en.wikipedia.org/wiki/Representational_state_transfer• http://en.wikipedia.org/wiki/Google_Code• http://googlecode.blogspot.in/2009/08/well-earned-retirement-for-soap-search.html• http://stackoverflow.com/questions/6166746/why-use-soap-for-webservices• http://stackoverflow.com/questions/630453/put-vs-post-in-rest• http://stackoverflow.com/questions/3487991/why-does-oauth-v2-have-both-access-and-refresh-tokens
    • Tweets http://1photos.com/wp-content/uploads/2011/02/wpid-web_delight_s37_15_part.jpg
    • Tweets
    • Tweets
    • Tweets
    • Tweets
    • Tweets
    • Tweets