API Strategy - Developer Perspective
-
Upload
chris-ismael -
Category
Technology
-
view
535 -
download
1
description
Transcript of API Strategy - Developer Perspective
![Page 1: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/1.jpg)
API Strategy - The Developer Perspective
Chris Ismael @craftshapeDeveloper Advocate, Mashape
Tuesday, October 1, 13
![Page 2: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/2.jpg)
Tuesday, October 1, 13
![Page 3: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/3.jpg)
Companies should be talking about their API as a tactic in support of their broader business strategy and objectives [rather than discussing their “API Strategy,”] - Daniel Jacobson, Netflix Director of Engineering (API)
Tuesday, October 1, 13
![Page 4: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/4.jpg)
Do I need an API?
Do you need to support a second/third device?
• Do you need to add features to your product without touching the internal source code?
• Do you need partners to integrate with your product?
• Do you need to add features for a geography or market that you do not have expertise in?
• Are users or partners asking to get access to your application’s data?
• Is your site getting screen-scraped?
Tuesday, October 1, 13
![Page 5: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/5.jpg)
API to InnovateLego Mindstorms
Within weeks of the original Lego Mindstorm debut, Kekao Proudfoot reverse engineered the RCX brick (hardware) and posted his findings online. Other engineers then used his findings to create Mindstorm tools, including an operating system and a C-like programming language. Lego had the ability to stop them but instead decided to let this community flourish. 'We came to understand that this is a great way to make the product more exciting,' Lego’s Nipper said. From Geeks in Toyland By Brendan I. Koerner - Wired Magazine February 2006. - See more at: http://www.pragmaticmarketing.com//resources/why-api-as-a-strategy?p=0#sthash.vWjZYYlH.dpuf
Tuesday, October 1, 13
![Page 6: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/6.jpg)
API as Core Business
Twilio
The most common example of an API strategy is around companies who aspire to build a developer community as a new revenue source or as the foundation of their business. Twilio is an interesting example of such a company. Twilio’s strategy is to offer APIs that tap into their backend services to allow developers to build apps supporting their communication
Tuesday, October 1, 13
![Page 7: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/7.jpg)
API Value Chain
Tuesday, October 1, 13
![Page 8: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/8.jpg)
Aligned Business and API vision
• “Not every country in the world has the same quality of public services that we do. Our user base is anyone on the planet, so a farmer in India should be able to pick up the phone and get a heads up if a bad weather is headed his way.” - AccuWeather
• Our vision for the API is real time, localized content to the individual, in any corner of the globe, in the right language
Tuesday, October 1, 13
![Page 9: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/9.jpg)
Business Asset
• The business asset will drive developers to explore the API, not the other way around
• “What can I do with these Imgur pictures?”
Tuesday, October 1, 13
![Page 10: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/10.jpg)
Pragmatic REST
Tuesday, October 1, 13
![Page 11: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/11.jpg)
Tuesday, October 1, 13
![Page 12: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/12.jpg)
JSON vs XML• JSON
• Slimmer object model
• Easy to read
• Faster data extraction
• XML
• Richer markup and semantic options
• Tooling support
• Extendability
Tuesday, October 1, 13
![Page 13: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/13.jpg)
Security
• Identification - API keys
• Authentication - Username and Password (HTTP Basic)
• Authorization - OAuth
Tuesday, October 1, 13
![Page 14: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/14.jpg)
Make your API easy to try and use
Tuesday, October 1, 13
![Page 15: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/15.jpg)
Don’t do anything weird
• API X - “..we use custom authen-ca-on and a part of OAuth when signing requests.” (sugges-on: h;p://oauthbible.com)
• API Y - http://sampleapi.com/api?a=delete&obj=123
Tuesday, October 1, 13
![Page 16: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/16.jpg)
Less is more
Tuesday, October 1, 13
![Page 17: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/17.jpg)
Help developers
Tuesday, October 1, 13
![Page 18: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/18.jpg)
Focus on a developer segment
Tuesday, October 1, 13
![Page 19: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/19.jpg)
Reach out to developer communities
Tuesday, October 1, 13
![Page 20: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/20.jpg)
Hackathons - Get feedback
Tuesday, October 1, 13
![Page 21: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/21.jpg)
Hackathons - Get ideas
Tuesday, October 1, 13
![Page 22: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/22.jpg)
Get promoted
Tuesday, October 1, 13
![Page 23: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/23.jpg)
Support
Tuesday, October 1, 13
![Page 24: API Strategy - Developer Perspective](https://reader033.fdocuments.us/reader033/viewer/2022051207/540cd7098d7f72747e8b46a4/html5/thumbnails/24.jpg)
Other important things
• Public versus Private API
• Analytics - measuring success
• API Management and Operation
• Quota limit and throttling
• Caching
• SLA
Tuesday, October 1, 13