APIs are eating the world

39bb8762f3a25ebc00ebd75bc4f363af?s=47 Simon Wood
August 11, 2016

APIs are eating the world

Marc Andreessen once famously said that “software is eating the world”. What he didn’t say was that increasingly it is APIs were driving the rapid creation of software. Pair that with the emergence of the “API Economy” where it is no longer enough for a business to just serve customers, but also key for them to offer APIs to increase profitability.

39bb8762f3a25ebc00ebd75bc4f363af?s=128

Simon Wood

August 11, 2016
Tweet

Transcript

  1. @hpoom APIs are eating the world By Simon Wood 1

    www.CTO-meetup.com
  2. / @hpoom About me Associate Director of Architecture & Engineering

    Holiday Extras Simon Wood 2
  3. @hpoom We are building the future of travel

  4. / @hpoom 4 Shortbreaks

  5. / @hpoom 5 What I am going to cover Marketplace

    Consuming Building Offering
  6. / @hpoom talking about web apis 6 HTTP APIs !

    Functional APIs
  7. / @hpoom Don’t you mean REST APIs 7 HTTP API

    != REST API
  8. @hpoom Consuming 8

  9. ” @hpoom Software is eating the world Marc Andreessen "Fortune

    Brainstorm TECH 2012" by Fortune Live Media. Licensed under Creative Commons.- https://flic.kr/p/cyoZPJ
  10. ” @hpoom APIs are eating the world Simon Wood -

    11th Aug 2016
  11. @hpoom 11 APIs Mobile Social Cloud Diagram by Sam Ramji

    - http://bit.ly/biz-apis
  12. @hpoom Lean product Development 12

  13. ” @hpoom The lean startup method is not about cost,

    it is about speed Eric Ries "The Lean Startup, London Edition" by Betsy Weber. Licensed under Creative Commons.- https://flic.kr/p/beLX4X
  14. @hpoom Don’t Reinvent The wheel 14

  15. @hpoom Tech Talent Shortage 15

  16. @hpoom has already been solved 16

  17. @hpoom Package Managers 17

  18. @hpoom Services future 18

  19. @hpoom Are battle hardened Are Mostly bug free Have support

    networks Have economy of scale 19 Services
  20. @hpoom The Technology Revolution 20

  21. @hpoom 21 http://blog.gardeviance.org/2012/11/monopolies-commoditisation-and.html

  22. @hpoom Marketplace 22

  23. @hpoom Mainstream API usage 23

  24. / @hpoom Facebook Social Solutions 24 Twitter Pinterest

  25. / @hpoom Auth0 Authentication Solutions 25 Stormpath AWS Cognito

  26. / @hpoom Contentful Content Solutions 26 Prismic Osmek

  27. / @hpoom Twilio Communications Solutions 27 Nexmo Plivo

  28. / @hpoom Mandrill Email Solutions 28 SendGrid context.io

  29. @hpoom Holiday Extras API consumption 29

  30. / @hpoom 30 apis Holiday extras use

  31. @hpoom Discovery 31

  32. / @hpoom Mashape market.mashape.com

  33. / @hpoom ProgrammableWeb /apis/directory

  34. / @hpoom GitHub github.com/toddmotto/public-apis

  35. @hpoom Offering 35

  36. ” @hpoom APIs are going to be the driver for

    the digital economy and unless companies are talking about APIs already, they will be left behind James Parton "love our new phone" by Nate Steiner. Licensed under Creative Commons.- https://flic.kr/p/8sedqw
  37. @hpoom APIS connect Businesses 37

  38. @hpoom APIS Allow you to change fast 38

  39. @hpoom couple 39 De

  40. @hpoom Hide legacy 40

  41. @hpoom 41

  42. @hpoom More efficient 42

  43. @hpoom People working on your business not in your business

    43
  44. @hpoom Free Innovation 44

  45. / @hpoom 45 Airbnb eco-system

  46. ” @hpoom Expedia generates more than $4 billion of revenue.

    80% of this revenue is generated via Expedia Affiliate Network APIs. 3scale "9M-AFG" by Alec Wilson. Licensed under Creative Commons.- https://flic.kr/p/JkZiYN
  47. / @hpoom Ebay developer.ebay.com

  48. / @hpoom Fitbit dev.fitbit.com

  49. ” @hpoom By exposing data, business processes and other services

    and resources through APIs, organizations are creating compelling new business platforms Winning in the API Economy - 3scale
  50. @hpoom acquisition through APIS 50

  51. @hpoom 51

  52. @hpoom 52

  53. @hpoom 53

  54. @hpoom 54

  55. @hpoom Public Vs Private APIS 55

  56. ” @hpoom If You Have A Publicly Available Mobile App

    You Have a Public API.  Kin Lane bit.ly/public-API
  57. ” @hpoom we’re excited by the interest in developing for

    the Snapchat platform but we prohibit access to the private API we use to provide our service  bit.ly/snapchat-api
  58. / @hpoom 58

  59. / @hpoom Teller.io

  60. @hpoom Evangelise Your API 60

  61. @hpoom Building 61

  62. @hpoom REST 62

  63. @hpoom nouns are good verbs are bad pluralise all resource

    paths 63
  64. @hpoom good bad 64 https://api.com/dogs/12345 https://api.com/dogs https://api.com/walkDog https://api.com/getDogs

  65. @hpoom 65 CRUD SQL REST Create INSERT POST Read SELECT

    GET Update UPDATE PUT Delete DELETE DELETE WRONG
  66. @hpoom 66 CRUD SQL REST Create INSERT PUT or POST

    Read SELECT GET Update UPDATE PUT or PATCH Delete DELETE DELETE
  67. @hpoom HATEOAS 67

  68. / @hpoom Pokéapi @phalt_ pokeapi.co

  69. @hpoom 69 { "id": 1, "name": "bulbasaur", "base_experience": 64, "height":

    7, "is_default": true, "order": 1, "weight": 69, "abilities": [ { "is_hidden": true, "slot": 3, "ability": { "name": "chlorophyll", "url": "http://pokeapi.co/api/v2/ability/34/" } } ] }
  70. @hpoom Defer to Standards 70

  71. / @hpoom HAL stateless.co/hal_specification.html API Standards 71 json:api jsonapi.org JSON-LD

    json-ld.org
  72. / @hpoom schema.org schema.org

  73. @hpoom 73 PUBLIC SERVICE ANNOUNCEMENT This is THE correct way

    to write numeric dates 2014-07-02 Source XKCD - http://bit.ly/iso-date
  74. @hpoom 74 Security

  75. @hpoom HTTP Authentication is all About headers 75

  76. @hpoom 76 GET /account/foo HTTP/1.1 Host: myapi.com Authorization: Basic aHR0cHdhdGNoOmY=

    GET /account/foo HTTP/1.1 Host: myapi.com Authorization: Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
  77. @hpoom 77 PUT /photos/puppy.jpg HTTP/1.1 Content-Type: image/jpeg Content-Length: 94328 Host:

    johnsmith.s3.amazonaws.com Date: Tue, 27 Mar 2007 21:15:45 +0000 Authorization: AWS AKIAIOSFODNN7EXAMPLE: MyyxeRY7whkBe+bq8fHCL/2kKUg=
  78. @hpoom Checksum tricks 78 sha256sum ("Checksum tricks") = mrVNeq8H9+qyQDCkFzPyZl8V3V44rcpYnHoDikLqF5c=

  79. @hpoom IP Firewall Rules are flawed 79

  80. @hpoom 80

  81. @hpoom Governance & Management 81

  82. / @hpoom apigee apigee.com API Management Solutions 82 kong getkong.org

    AWS API Gateway aws.amazon.com/api-gateway
  83. @hpoom RATE Limiting Done RIGHT 83

  84. @hpoom 84 Visibility

  85. @hpoom Cloud based logging ROCKS 85

  86. / @hpoom Sumo Logic sumologic.com Cloud logging solutions 86 Logstash

    elastic.co/products/logstash Loggly loggly.com
  87. @hpoom 87

  88. @hpoom 88

  89. @hpoom Metrics are Essential 89

  90. / @hpoom Zapier status.zapier.com Cloud metrics solutions 90 Runscope runscope.com

    Graphite graphiteapp.org
  91. @hpoom 91

  92. @hpoom 92 Versioning

  93. @hpoom Avoid versioning at all costs 93

  94. @hpoom 94 GET /api/v2/account/foo HTTP/1.1 Host: myapi.com GET /api/account/foo HTTP/1.1

    Host: myapi.com Accept: application/vnd.myapi.v2+json
  95. @hpoom Caching & Async 95

  96. @hpoom 96 API Website Mobile App Affiliates Smart TV Hotels

    Tickets Transport Food 1.2s 1.1s 0.6s 0.8s
  97. @hpoom 97 API Website Mobile App Affiliates Smart TV Hotels

    Tickets Transport Food Cache Cache Cache Cache Cache
  98. @hpoom Eat own dog food 98

  99. @hpoom Future of APIs 99

  100. @hpoom Microservices 100

  101. @hpoom Serverless 101

  102. / @hpoom backends for frontons 102

  103. @hpoom There is an API strategy For everyone 103

  104. ” @hpoom You wouldn't really think that an online bookstore

    needs to be an extensible, programmable platform. Would you? Steve Yegge "Amazon - official opening" by Scottish Government. Licensed under Creative Commons.- https://flic.kr/p/aFjhZR
  105. @hpoom Thank you please contact me if you have any

    questions Twitter: @hpoom logo 105 By Simon Wood www.CTO-meetup.com