Api strategy a beginners guide

Preview:

Citation preview

API strategy a beginners guide

1

API’S…?

2

MostpeoplearetalkingaboutAPI’s,ofalltypes,arecrea9ngbusinessmodelstoexploitthem(oraretrying)andarelookingtogenerateasignificantamountofrevenuethroughthem.

Itsprobablyimportantatthispointtodifferen9ateinternetfacingAPI’sandpublicAPI’s.

TheAPI’sthatareaErac9ngalotofpressandcorporateaEen9onarepubliclyfacingAPI’sthat3rdpartydevelopers&organisa9onsconsume,andcreatenewbusinessopportuni9esandornewproductsetcusingyourAPI.

Thesebusinessopportuni9esdonotnecessarilyneedtohavea$value.Therearealargenumberwherethereisnorevenuegenerated-buttheseAPI’sdoextendanorganisa9on’sreachorfootprint.

Havingasuccessfuldeveloper/apiportalisconsideredareasonablemeasureofanorganisa9onstechnicalmaturityandthiscanhelpaEracttechtalent.

ARCHITECTURAL MODEL

3

Strategic Goal Architecture CapabilityWhy? What? How?

WHY

4

WHY

5

EverythingstartswithWhy,oratleastshouldstartwithWhy!

Afewques9onstohelpyouunderstandtheWhyofpushinganAPIintothepublicdomaincouldbe…

WhywouldadeveloperwanttoconsumemyAPI…?

WhyamidevelopingthisAPI…?

Whyamigoingtotheeffortof‘pushing’thisAPIintothepublicdomain…?

WHY

6

ThisCapitalOneblogthathassomegreatthoughtsaboutthe‘why’ofAPI’s

hEp://www.capitalone.io/blog/inside-out-taking-your-api-public/

ItalsohasareferencetoSimonSinek’stalkonthe‘Why’ofwhyorganisa9onsandpeoplearesuccessful.

IfyoucantanswertheWhy…thenpause…andworkouttheWhy!

WHAT

7

GOOD

8

• Why understood • Well documented

• Clear instructions on how to invoke • Description of what the developer can expect with examples

• Readonly to start with is better• Not tightly coupled to back end systems• Application Performance Monitoring tool to monitor and visualise

traffic

NOT SO GOOD

9

• API Logic in Vendor products• API’s that are both internal and public

• Can be difficult to segregate traffic during production incident for

those just starting on their public API journey • API’s with only 1 or 2 consumers• Poor documentation

ARCHITECTURAL PATTERNS

10

HOW

11

WHATS THE MOST IMPORTANT THING?

12

COMMUNITY ENGAGEMENT

13

COMMUNITY ENGAGEMENT - HOW?

14

Portal

Your public presence.

A place where developers can find information about your API’s.

COMMUNITY ENGAGEMENT - HOW?

15

Evangelist

Externally facing role.

Someone who actively engages the developer community.

COMMUNITY ENGAGEMENT - HOW?

16

Status

A page that publishes the state of your API e.g. Active, Degraded, Not Active.

Typically a subset of the portal.

COMMUNITY ENGAGEMENT - HOW?

17

Forum

An online community to discuss your API’s.

Allows all conversations to be public.

A search resource for developers.

COMMUNITY ENGAGEMENT - HOW?

18

Blog

Whats happening in your API world…

What worked well and what didn’t?

What do have coming next?

SOME GOOD EXAMPLES TO LOOK AT

19

CapitalOnehEps://developer.capitalone.com/products/

BBVAhEps://www.bbvaapimarket.com/web/api_market/

TelstrahEps://dev.telstra.com/

TwiEerhEps://dev.twiEer.com/rest/public

AN EXAMPLE TEAM

20

• Business Owner of the API

• Product Owner for the API

• Empowered DevOps - only 1 team required to release API

• How does the maintenance of the Public API ‘work’?

• Is this API the teams sole focus?

• If no, how is the effort to maintain the public API interweaved with the internal effort?

BUDGET / FUNDING

21

What budget/time/effort is assigned for public API’s?

Is the funding flexible enough to cope with unpredictable demand?

DONT FORGET THE MVP

22

GOTCHA’S

23

• Trying to short cut the maturity scale

• Slow is ok

• Dont be tempted to go ‘early’

• Not listening to your community - always have an open channel and someone ‘listening’

• Good internal does not necessarily equal a good external API

• Vendor lockin

andy.mcquarrie@thoughtworks.com@andymcquarrie

24