KEMBAR78
Building API Products | PDF
Building API Products
1
@samueljabiodun
James Samuel
~8 years of experience making
software run
#Technical content creator
#Engineer #TechLead
#Speaker
#AWS Community Builder 2
@samueljabiodun
@abiodunjames
@abiodunjames
3
HubOfML
Curated newsletter
for ML engineers,
software engineers,
and tech leaders.
https://hubofml.substack.com/
4
#Join us to change mobility for good
tier.app/jobs
5
Feedback?
feedbakly.com/GO5xyDt1FWKi43v
Creating API Products
6
API is eating the world
API has continued to gather popularity,
grew by 100% in 2020
Postman: State of the API Report
8
ā–Ŗ Offers APIs to open up services e.g Twitter, Facebook,
Salesforce, etc
ā–Ŗ API-first companies e.g Stripe, Contentful, Twilio, Algolia
etc
9
Good APIs are:
ā Easy Learn
ā Easy to use
ā Hard not-easy to misuse
ā Easy to read and maintain clients that use them
ā Easy to evolve
10
Good API products make life easy
11
How do you make life easy?
Understand the
ā€œWhyā€ and ā€œHowā€
13
ā–Ŗ Why do you want to build an API?
ā–Ŗ What problem will it solve?
ā–Ŗ How will the API help me achieve my goals?
14
Example Goal: Drive usage and monetize internal
services
15
The goal isn't always obvious
…Ask
16
Design Matters
17
āž” Vocabularies- Are your words, terms easy to understand for your users?
āž” Styles - What protocols are you supporting, Rest or GraphQL?
āž” Naturalness & Consistency:
ā—† Do your users have to change their usual ways of solving their problems
significantly?
ā—† Did you follow established standards and conventions?
ā—† What level of familiarity will you provide? Are you APIs similar to what your
users may have used in the past?
ā€œGreat API products are designed with
rigorous customer focus, a deep
understanding of the customers, their
needs and desiresā€
19
Approaching API Design
ā–Ŗ Identify users & activities they want to get done
ā–Ŗ Break down activities
ā–Ŗ Create APIs & Validate using a use-case
ā–Ŗ Build API prototype and client prototype
ā–Ŗ Validate & Re-iterate
20
You won't get the first version of your APIs
right. Some lessons can't be learned
exclusively by customer interviews.
21
Aligning Affordance
22
Affordance is that property of an object
which shows users the actions they can
take.
Get Good at
Documentation
25
What's one of the first things you look at
with a third party API?
If you’re providing only one type of
documentation, you’re undeserving your
users.
27
ā— Evaluation
ā— Integration
ā— Debugging
ā— Who are you creating for?
ā— What are they trying to achieve?
ā— Why are you creating this?
Get Development
Right
30
Instead of focusing on CRUD, focus on
goals and the sequence of actions
required to achieve them.
ā— Scalability
ā— Maintainability
ā— Security
ā— Reliability
ā— Performance
ā— Security
ā— Testing
33
Your APIs should hide complexities
and not expose them
34
Conclusion
35
Can the API Product deliver on the strategic
goals?
Is the API Product quality enough to support
the strategic goals?
Track Effectiveness
36
Questions?

Building API Products