Your SlideShare is downloading. ×
0
APIsChris Castiglione@castig | pfnp.me
PROGRAMMING FOR NON-PROGRAMMERSAPI‣   Application‣   Programming‣   Interface
PROGRAMMING FOR NON-PROGRAMMERS
PROGRAMMING FOR NON-PROGRAMMERS              Money          The Interface
PROGRAMMING FOR NON-PROGRAMMERS  Money         The Interface       The task/                                  programmer
PROGRAMMING FOR NON-PROGRAMMERS   Data         The Interface     The task written                                         ...
APISA Way For ApplicationsTo Talk To Each Other
MASHUP: GOOGLE MAP + CRAIGSLIST                             9
READ DATA            API Code Say             “Send me 4               tweets”               “Ok, cool”            ...and ...
WRITE DATA                   “Post a tweet for                         me”                        “Ok”                    ...
WRITE (LOTS OF) DATA                       13
WRITE (LOTS OF) DATA               API Code Sends    Your App                    Netflix                                  ...
APISJSON & XML
SENDING MESSAGES
SENDING MESSAGES            JavaScript             Request             Image data          returns in JSON
RSS      18
RSS      19
XML
JSONa lightweight data formatused by many APIs
JAS   N
JSON  JavaScript  Object  Notation
JSON
XML
APIS3 Use Cases
PuppystreamProblem: Quickly launch a photo sharing site, withouthaving to build the mobile app                            ...
Puppystream     Instagram	       #puppystream    Facebook	  
Problem: When users log onto Sonar for the first time, Itwill look like no one is using the app. How do we bring inconnect...
Solution: Sonar uses existing userdata from the Foursquare, Twitter, andFacebook APIs to populate the appwith locals
32
Problem: CNET needed a way to unify thedata flow between their various sites andacquisitions                              ...
PHPRUBY                 34       PYTHON
Solution!CNET developed an internal API                                 35
PHPRUBY                 36       PYTHON
API       JSON data                   PHPRUBY                    37       PYTHON
THE INTERNETOF THINGSconnecting data...to real life
NIKE PLUS
ENERGY CONSUMPTION DATA
AUTOMOBILE DATA
AUTOMOBILE DATA WITH MAVI
RFID EVERYTHING?
APISfor every occasion
LOCATION BASED DATA API
PHOTO EDITING API
“I believe it literallytook me 15 minutes to integrate their API.”      -Brooke Moreland, Founder Fachism
LIVE VIDEO CHAT API
EMAIL NEWSLETTER API
COMMENT SYSTEM API            Disqus
PAYMENT APIS     Braintree   Stripe
EVERYTHING ELSE APIS
VOIP / TEXT MESSAGE API
APIs
APIs
APIs
APIs
APIs
APIs
APIs
APIs
APIs
APIs
APIs
APIs
Upcoming SlideShare
Loading in...5
×

APIs

1,470

Published on

APIs. What are they? Why should you care? This is a part of my Programming For Non-Programmers Workshop series.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,470
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
90
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "APIs"

  1. 1. APIsChris Castiglione@castig | pfnp.me
  2. 2. PROGRAMMING FOR NON-PROGRAMMERSAPI‣ Application‣ Programming‣ Interface
  3. 3. PROGRAMMING FOR NON-PROGRAMMERS
  4. 4. PROGRAMMING FOR NON-PROGRAMMERS Money The Interface
  5. 5. PROGRAMMING FOR NON-PROGRAMMERS Money The Interface The task/ programmer
  6. 6. PROGRAMMING FOR NON-PROGRAMMERS Data The Interface The task written in code on your website
  7. 7. APISA Way For ApplicationsTo Talk To Each Other
  8. 8. MASHUP: GOOGLE MAP + CRAIGSLIST 9
  9. 9. READ DATA API Code Say “Send me 4 tweets” “Ok, cool” ...and 4 tweets are sent back Twitter.comYour Site
  10. 10. WRITE DATA “Post a tweet for me” “Ok” Twitter.com Twitter iPhone App
  11. 11. WRITE (LOTS OF) DATA 13
  12. 12. WRITE (LOTS OF) DATA API Code Sends Your App Netflix 14
  13. 13. APISJSON & XML
  14. 14. SENDING MESSAGES
  15. 15. SENDING MESSAGES JavaScript Request Image data returns in JSON
  16. 16. RSS 18
  17. 17. RSS 19
  18. 18. XML
  19. 19. JSONa lightweight data formatused by many APIs
  20. 20. JAS N
  21. 21. JSON JavaScript Object Notation
  22. 22. JSON
  23. 23. XML
  24. 24. APIS3 Use Cases
  25. 25. PuppystreamProblem: Quickly launch a photo sharing site, withouthaving to build the mobile app 28
  26. 26. Puppystream Instagram   #puppystream Facebook  
  27. 27. Problem: When users log onto Sonar for the first time, Itwill look like no one is using the app. How do we bring inconnections?
  28. 28. Solution: Sonar uses existing userdata from the Foursquare, Twitter, andFacebook APIs to populate the appwith locals
  29. 29. 32
  30. 30. Problem: CNET needed a way to unify thedata flow between their various sites andacquisitions 91 33
  31. 31. PHPRUBY 34 PYTHON
  32. 32. Solution!CNET developed an internal API 35
  33. 33. PHPRUBY 36 PYTHON
  34. 34. API JSON data PHPRUBY 37 PYTHON
  35. 35. THE INTERNETOF THINGSconnecting data...to real life
  36. 36. NIKE PLUS
  37. 37. ENERGY CONSUMPTION DATA
  38. 38. AUTOMOBILE DATA
  39. 39. AUTOMOBILE DATA WITH MAVI
  40. 40. RFID EVERYTHING?
  41. 41. APISfor every occasion
  42. 42. LOCATION BASED DATA API
  43. 43. PHOTO EDITING API
  44. 44. “I believe it literallytook me 15 minutes to integrate their API.” -Brooke Moreland, Founder Fachism
  45. 45. LIVE VIDEO CHAT API
  46. 46. EMAIL NEWSLETTER API
  47. 47. COMMENT SYSTEM API Disqus
  48. 48. PAYMENT APIS Braintree Stripe
  49. 49. EVERYTHING ELSE APIS
  50. 50. VOIP / TEXT MESSAGE API
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×