Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to create an API experience that people wil...

Carmen Chung
September 20, 2019

How to create an API experience that people will rave about

This presentation walks you through a few key steps to building a frictionless, enjoyable API that developers outside of your company will rave about (in a good way). Case studies included.

Carmen Chung

September 20, 2019
Tweet

More Decks by Carmen Chung

Other Decks in Technology

Transcript

  1. WHAT WE'LL TALK ABOUT KEEP YOUR API DESIGN SIMPLE FOLLOW

    CONVENTION AND BE CONSISTENT PROVIDE HELPFUL API RESPONSES OFFER CLEAR DOCUMENTATION WITH MOCKED EXAMPLES PROVIDE A TESTING SANDBOX WITH LOGS BUILD A COMMUNITY AND OFFER SUPPORT 1. 2. 3. 4. 5. 6.
  2. 1. KEEP YOUR API DESIGN SIMPLE “AN API IS LIKE

    A JOKE. IF YOU HAVE TO EXPLAIN IT, IT’S NOT THAT GOOD.” - RON KURIS (PARAPHRASED)
  3. 2. FOLLOW CONVENTION AND BE CONSISTENT "THERE ARE TWO HARD

    THINGS IN COMPUTER SCIENCE: CACHE INVALIDATION, NAMING THINGS, AND OFF-BY-ONE ERRORS." - LEON BAMBRICK
  4. 3. PROVIDE HELPFUL API RESPONSES "I LOVE RECEIVING "BAD REQUEST"

    RESPONSES WITH NO CONTEXT." - NOBODY EVER.
  5. 4. OFFER CLEAR DOCUMENTATION WITH MOCKED EXAMPLES "ASK ANYONE IN

    THE API INDUSTRY WHAT THE BIGGEST OBSTACLES ARE TO CREATING APPS, AND I GUARANTEE THAT THEY WILL BRING UP API DOCUMENTATION." - API EVANGELIST
  6. 6. BUILD A COMMUNITY AND OFFER SUPPORT DEVELOPERS WILL BE

    YOUR BEST - AND WORST - ADVOCATES. MAKE FRIENDS WITH THEM.