api strategy - developer perspective

24
API Strategy - The Developer Perspective Chris Ismael @craftshape Developer Advocate, Mashape Tuesday, October 1, 13

Upload: chris-ismael

Post on 08-Sep-2014

543 views

Category:

Technology


1 download

DESCRIPTION

Oct 1, 2013 @ Fort Mason

TRANSCRIPT

Page 1: API Strategy - Developer Perspective

API Strategy - The Developer Perspective

Chris Ismael @craftshapeDeveloper Advocate, Mashape

Tuesday, October 1, 13

Page 2: API Strategy - Developer Perspective

Tuesday, October 1, 13

Page 3: API Strategy - Developer Perspective

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

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

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

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

API Value Chain

Tuesday, October 1, 13

Page 8: API Strategy - Developer Perspective

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

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

Pragmatic REST

Tuesday, October 1, 13

Page 11: API Strategy - Developer Perspective

Tuesday, October 1, 13

Page 12: API Strategy - Developer Perspective

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

Security

• Identification - API keys

• Authentication - Username and Password (HTTP Basic)

• Authorization - OAuth

Tuesday, October 1, 13

Page 14: API Strategy - Developer Perspective

Make your API easy to try and use

Tuesday, October 1, 13

Page 15: API Strategy - Developer Perspective

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

Less is more

Tuesday, October 1, 13

Page 17: API Strategy - Developer Perspective

Help developers

Tuesday, October 1, 13

Page 18: API Strategy - Developer Perspective

Focus on a developer segment

Tuesday, October 1, 13

Page 19: API Strategy - Developer Perspective

Reach out to developer communities

Tuesday, October 1, 13

Page 20: API Strategy - Developer Perspective

Hackathons - Get feedback

Tuesday, October 1, 13

Page 21: API Strategy - Developer Perspective

Hackathons - Get ideas

Tuesday, October 1, 13

Page 22: API Strategy - Developer Perspective

Get promoted

Tuesday, October 1, 13

Page 23: API Strategy - Developer Perspective

Support

Tuesday, October 1, 13

Page 24: API Strategy - Developer Perspective

Other important things

• Public versus Private API

• Analytics - measuring success

• API Management and Operation

• Quota limit and throttling

• Caching

• SLA

Tuesday, October 1, 13