Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
APIs Demystified                  Brandon Westbrandon.west@sendgrid.com         @brandonmwest
Application Programming Interface
Application Programming Interface
Application Programming Interface
Application Programming Interface
Application Programming Interface
An API: Describes an InterfaceThrough which Programs can interact      with an Application
API
API is an umbrella term...
API
API
API
API
API is an umbrella term...
API is an umbrella term......but we usually mean Web API
API is an umbrella term......but we usually mean Web API    So, what’s a Web API?
Typical Web Request                Give me                            Web ServerClient        google.com!             Here...
HTTP Requests in Google Chrome
HTTP Request HeadersGET /intl/en_com/images/srpr/logo3w.png HTTP/1.1Host: www.google.comConnection: keep-aliveUser-Agent: ...
So what about APIs?                      Give me my                      klout score!                                     ...
API Call (via HTTP)http://api.klout.com/1/klout.json?users=brandonmwest&key=XXXXXXXXXXXXX
API Payload<?xml version="1.0" encoding="UTF-8"?><users>  <user>    <twitter_screen_name>brandonmwest</twitter_screen_name...
End Points, Methods and Calls
APIs are awesome
brandon.west@sendgrid.com   @brandonmwest
APIs Demystified
APIs Demystified
Upcoming SlideShare
Loading in …5
×

APIs Demystified

1,123 views

Published on

A talk from The Combine 2011.

APIs Demystified is intended take the magic out of APIs for people that aren't programmers. We will discuss what Application Programming Interface means, starting with a general overview and then moving the focus to web APIs and how they are becoming the building blocks of today's applications. A discussion of why a company might decide to build an API follows.

Published in: Technology, News & Politics
  • Be the first to comment

APIs Demystified

  1. 1. APIs Demystified Brandon Westbrandon.west@sendgrid.com @brandonmwest
  2. 2. Application Programming Interface
  3. 3. Application Programming Interface
  4. 4. Application Programming Interface
  5. 5. Application Programming Interface
  6. 6. Application Programming Interface
  7. 7. An API: Describes an InterfaceThrough which Programs can interact with an Application
  8. 8. API
  9. 9. API is an umbrella term...
  10. 10. API
  11. 11. API
  12. 12. API
  13. 13. API
  14. 14. API is an umbrella term...
  15. 15. API is an umbrella term......but we usually mean Web API
  16. 16. API is an umbrella term......but we usually mean Web API So, what’s a Web API?
  17. 17. Typical Web Request Give me Web ServerClient google.com! Here you go!
  18. 18. HTTP Requests in Google Chrome
  19. 19. HTTP Request HeadersGET /intl/en_com/images/srpr/logo3w.png HTTP/1.1Host: www.google.comConnection: keep-aliveUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OSX 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko)Chrome/14.0.835.202 Safari/535.1Accept: */*Referer: http://www.google.com/Accept-Encoding: gzip,deflateAccept-Language: en-US,en;q=0.8Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3HTTP Response HeadersHTTP/1.1 200 OKContent-Type: image/pngLast-Modified: Fri, 05 Aug 2011 02:40:26 GMTDate: Tue, 18 Oct 2011 21:54:02 GMTExpires: Tue, 18 Oct 2011 21:54:02 GMTCache-Control: private, max-age=31536000X-Content-Type-Options: nosniffServer: sffeContent-Length: 7007X-XSS-Protection: 1; mode=block
  20. 20. So what about APIs? Give me my klout score! Klout APIAPI Implementation Here you go!
  21. 21. API Call (via HTTP)http://api.klout.com/1/klout.json?users=brandonmwest&key=XXXXXXXXXXXXX
  22. 22. API Payload<?xml version="1.0" encoding="UTF-8"?><users>  <user>    <twitter_screen_name>brandonmwest</twitter_screen_name>    <kscore>52.26</kscore>  </user></users>
  23. 23. End Points, Methods and Calls
  24. 24. APIs are awesome
  25. 25. brandon.west@sendgrid.com @brandonmwest

×