Can an API be too simple?
-
Upload
johannes-lundberg -
Category
Internet
-
view
419 -
download
2
description
Transcript of Can an API be too simple?
![Page 1: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/1.jpg)
46elks
CONTACT Johannes Lundberg [email protected] +46704508449
”Can an API be too simple?”!2014-05-05, at @APIDaysBerlin
![Page 2: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/2.jpg)
@johannesl !
jojo
Johannes Lundberg
![Page 3: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/3.jpg)
46elks
![Page 4: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/4.jpg)
,;MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM;,./MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM.MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM` `^´ `Q/^^\MMMpcqMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM;, `^´ `VP YP´ `MMMMMMMMMMMMMMMMMMM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MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMP `\MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM`
![Page 5: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/5.jpg)
Phone calls, SMS and MMS for developers
in one easy API
![Page 6: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/6.jpg)
Can an API be too simple?
![Page 7: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/7.jpg)
APIAn API business
An actual API
purpose + provider
![Page 8: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/8.jpg)
Courtesy of @andreaskrohn
Business relationship Fullfillment Potential
business impactRealistic
business impact
PRIVATE (CUSTOM)
Manual (internal) Manual None None
PRIVATE (SELF-SERVE)
Automatic (internal) Automatic High
(for big companies) Medium
PARTNER Manual Automatic High High
PUBLIC Automatic Automatic Very high Medium
![Page 9: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/9.jpg)
Can an API be too simple?
![Page 10: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/10.jpg)
Simple means: !
easy to understand, deal with; not complicated;
modest;
![Page 11: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/11.jpg)
SIMPLE
..to integrate..to learn
..to grow with
![Page 12: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/12.jpg)
Simple for who?
![Page 13: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/13.jpg)
Don’t
![Page 14: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/14.jpg)
!JSON vs XML …
Do this !
![Page 15: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/15.jpg)
Too simple?
![Page 16: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/16.jpg)
If in doubt, leave it out !!
![Page 17: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/17.jpg)
SIMPLE
..to maintain..to monetize
..to replace
![Page 18: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/18.jpg)
The essence of an API
Turning traditional complexity into programatic simplicity.
!
For common use cases.
![Page 19: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/19.jpg)
TELECOMTHE WEB
HTTP
Telia Sweden
Sonera FI
TDC Denmark
Telekom DE
Telenor NO
Tele2 Estonia
46elksYour!software
46elks
SIMPLICITY COMPLEXITY
![Page 20: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/20.jpg)
<?php!if ($_GET[’message’] == ’ping’) echo ’Server is up at ’. date(’Y-m-d H:i:s’);!?>
Receiving an SMS and replying
HTTP POST
HTTP REPLY
![Page 21: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/21.jpg)
{ "ivr": ”http://myserver.se/menu.mp3",!
"1": { "connect": "+461890510" },!
"2": { "connect": "+461890511", "recordcall": "http://myserver.se/save" } }
Sample IVR
![Page 22: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/22.jpg)
Telia 0.049 € Telenor 0.042 € Telavox 0.070 € Tele2 0.029 € Tre 0.037 €
0.038 €
Sweden
9 %11 %
12 %
31 %
38 %
Telia
Tele2
Tre
Tre
Per SMS to Sweden
![Page 23: Can an API be too simple?](https://reader034.fdocuments.in/reader034/viewer/2022050905/54b5a46a4a7959f3678b4644/html5/thumbnails/23.jpg)
Thank you!@johannesl
@46elks