your api sucks! why developers hang up and how to stop that

69
Rapid API Workshop Marsh Gardiner Brian Mulloy @earth2marsh @landlessness Your API Sucks Why developers hang up and how to stop that.

Upload: apigee

Post on 10-May-2015

7.237 views

Category:

Technology


0 download

DESCRIPTION

Part 6 in our series of API Best Practices Webinars - on Developer Adoption- by @landlessness and @earth2marsh

TRANSCRIPT

Page 1: Your API Sucks! Why developers hang up and how to stop that

Rapid  API  Workshop  

Marsh  Gardiner      Brian  Mulloy  @earth2marsh      @landlessness    

Your  API  Sucks  Why  developers  hang  up  and  how  to  stop  that.  

Page 2: Your API Sucks! Why developers hang up and how to stop that

@earth2marsh @landlessness

Page 3: Your API Sucks! Why developers hang up and how to stop that

Mapping  out  your  API  Strategy    

PragmaAc  REST:  API  Design  Fu  

10  PaJerns  of  Successful  API  Programs  

API  Metrics  –  What  to  Measure?  

API  Technology  &  OperaAons  

Today:  Your  API  Sucks!  

PCI  Compliance  and  APIs  

 

Rapid API Workshop Webinar Series

Page 4: Your API Sucks! Why developers hang up and how to stop that

•   User  experience  wins  •   API  users  =  developers  •   Developer  experiences  (generally)  suck  •   But  they  don’t  have  to…  

IN A NUTSHELL THIS TALK

Page 5: Your API Sucks! Why developers hang up and how to stop that

#betterapis!

Page 6: Your API Sucks! Why developers hang up and how to stop that
Page 7: Your API Sucks! Why developers hang up and how to stop that

1. Give developers every reason to build

2. Make them successful faster

3. Don't violate their trust

4. Listen

Four simple rules

Page 8: Your API Sucks! Why developers hang up and how to stop that

Why would I use your API?

Hangup Reason #1

Page 9: Your API Sucks! Why developers hang up and how to stop that

Why  did  you  build  an  API?  

Page 10: Your API Sucks! Why developers hang up and how to stop that
Page 11: Your API Sucks! Why developers hang up and how to stop that
Page 12: Your API Sucks! Why developers hang up and how to stop that

1. Give developers every reason to build

2. Make them successful faster

3. Don't violate their trust

4. Listen

Four simple rules

Page 13: Your API Sucks! Why developers hang up and how to stop that
Page 14: Your API Sucks! Why developers hang up and how to stop that

Simple  things  should  be  simple.  

Complex  things  should  be  possible.  

           —  Alan  Kay  

Page 15: Your API Sucks! Why developers hang up and how to stop that
Page 16: Your API Sucks! Why developers hang up and how to stop that

1. People don’t read pages. They scan them.

2. People don’t make optimal choices. They satisfice.

3. People don’t figure out how things work. They muddle through.

Krug says:

Page 17: Your API Sucks! Why developers hang up and how to stop that
Page 18: Your API Sucks! Why developers hang up and how to stop that
Page 19: Your API Sucks! Why developers hang up and how to stop that
Page 20: Your API Sucks! Why developers hang up and how to stop that
Page 21: Your API Sucks! Why developers hang up and how to stop that

You’re making this too hard.

Hangup Reason #2

Page 22: Your API Sucks! Why developers hang up and how to stop that
Page 23: Your API Sucks! Why developers hang up and how to stop that

Time  To  First  Request  

TTFR

Page 24: Your API Sucks! Why developers hang up and how to stop that
Page 25: Your API Sucks! Why developers hang up and how to stop that
Page 26: Your API Sucks! Why developers hang up and how to stop that
Page 27: Your API Sucks! Why developers hang up and how to stop that
Page 28: Your API Sucks! Why developers hang up and how to stop that
Page 29: Your API Sucks! Why developers hang up and how to stop that

1. Give developers every reason to build

2. Make them successful faster

3. Don't violate their trust

4. Listen

Four simple rules

Page 30: Your API Sucks! Why developers hang up and how to stop that
Page 31: Your API Sucks! Why developers hang up and how to stop that

Are you going to support me?

Hangup Reason #3

Page 32: Your API Sucks! Why developers hang up and how to stop that
Page 33: Your API Sucks! Why developers hang up and how to stop that
Page 34: Your API Sucks! Why developers hang up and how to stop that
Page 35: Your API Sucks! Why developers hang up and how to stop that
Page 36: Your API Sucks! Why developers hang up and how to stop that

1. Give developers every reason to build

2. Make them successful faster

3. Don't violate their trust

4. Listen

Four simple rules

Page 37: Your API Sucks! Why developers hang up and how to stop that
Page 38: Your API Sucks! Why developers hang up and how to stop that

Your  API  is  a  product.  

Treat  it  that  way.  Your  developers  are  your  customers.  

Page 39: Your API Sucks! Why developers hang up and how to stop that
Page 40: Your API Sucks! Why developers hang up and how to stop that
Page 41: Your API Sucks! Why developers hang up and how to stop that
Page 42: Your API Sucks! Why developers hang up and how to stop that
Page 43: Your API Sucks! Why developers hang up and how to stop that

Why  is  this  so  hard?  

Page 44: Your API Sucks! Why developers hang up and how to stop that

Why  does  Freemium  work?  

Page 45: Your API Sucks! Why developers hang up and how to stop that
Page 46: Your API Sucks! Why developers hang up and how to stop that

Do  it  beIer  

Page 47: Your API Sucks! Why developers hang up and how to stop that

POST /InStock HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: 299 <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header> </soap:Header> <soap:Body> <m:GetStockPrice xmlns:m="http://www.example.org/stock"> <m:StockName>IBM</m:StockName> </m:GetStockPrice> </soap:Body> </soap:Envelope>

SOAP  

Page 48: Your API Sucks! Why developers hang up and how to stop that

http://api.twitter.com/1/statuses/public_timeline.json

Why  REST  is  winning:  

Page 49: Your API Sucks! Why developers hang up and how to stop that
Page 50: Your API Sucks! Why developers hang up and how to stop that

Your  engineers  may  be  great  at  wriAng  the  code  behind  your  API.    

Are  they  great  at  designing  for  API  adop<on?    

Page 51: Your API Sucks! Why developers hang up and how to stop that

POST !https://api.bluevia.com/services/REST/Advertising_Sandbox/simple/requests?version=v1!

Page 52: Your API Sucks! Why developers hang up and how to stop that
Page 53: Your API Sucks! Why developers hang up and how to stop that
Page 54: Your API Sucks! Why developers hang up and how to stop that
Page 55: Your API Sucks! Why developers hang up and how to stop that

Opacity  is  inscrutable.  (Also,  unforgivable.)  

Give  devs  the  informa<on  they  need  to  succeed.  

Page 56: Your API Sucks! Why developers hang up and how to stop that
Page 57: Your API Sucks! Why developers hang up and how to stop that
Page 58: Your API Sucks! Why developers hang up and how to stop that

Good  PaIerns  

Page 59: Your API Sucks! Why developers hang up and how to stop that
Page 60: Your API Sucks! Why developers hang up and how to stop that
Page 61: Your API Sucks! Why developers hang up and how to stop that
Page 62: Your API Sucks! Why developers hang up and how to stop that
Page 63: Your API Sucks! Why developers hang up and how to stop that
Page 64: Your API Sucks! Why developers hang up and how to stop that

Put  yourself  in  their  shoes.  

Page 65: Your API Sucks! Why developers hang up and how to stop that

1. Give developers every reason to build

2. Make them successful faster

3. Don't violate their trust

4. Listen

Four simple rules

Page 66: Your API Sucks! Why developers hang up and how to stop that

Mapping  out  your  API  Strategy    

PragmaAc  REST:  API  Design  Fu  

10  PaJerns  in  Successful  API  Programs  

Today:  API  Metrics  –  What  to  Measure?  

API  Technology  &  OperaAons  

Your  API  Sucks!  

Next:  PCI  Compliance  and  APIs  

Rapid API Workshop Webinar Series

Page 67: Your API Sucks! Why developers hang up and how to stop that
Page 68: Your API Sucks! Why developers hang up and how to stop that

Tired I am. REST I must.

Page 69: Your API Sucks! Why developers hang up and how to stop that

THANKS!    Send  ques<ons,  examples,  and  ideas  to  @apigee  

Marsh  Gardiner      Brian  Mulloy  [email protected]      [email protected]  @earth2marsh      @landlessness