SlideShare a Scribd company logo
THE ART OF BUILDING APIS


       Jakub Nesetril
      founder & CEO of Apiary
ONE SIZE DOES NOT FIT ALL
                There is no simple way to
                solve API design.

                Different groups of
                developers has different
                needs, usecases and
                workflows.
ART, NOT ROUTINE
            API is and interface. In 2000’s,
            we thought it was machine-
            machine interface. But in
            2010’s, we know that it’s the
            interface to the developer
            behind the machine. Thus,
            building APIs is a lot like
            building UIs.
UI design is dominated
by user-centered design.
It involves the user into
design workflow as soon
as possible, often using
wireframes.
But API design is still
largely a waterfall
approach - design-build-
document everything
upfront. Only then
involve the user.
Mock > Use > Implement

Using a mock server
allows to change the
workflow: produce a
wireframe quickly, then
involve the customer.
Implement once the
                                        apiary.io
design is finalized.
Mock > Use > Implement

Using a mock server
allows to change the
workflow: produce a
wireframe quickly, then
involve the customer.
Implement once the
                                        apiary.io
design is finalized.
API BLUEPRINT
HOST: http://api.twitter.com/
                                                Apiary.io has a quick
--- Twitter API 3.0 ---                         tool for describing APIs
---                                             using a very light-weight
                                                DSL called API
Welcome to our API. Comments support Markdown syntax
                                                Blueprint.
---

-- Retrieve Tweets --
GET /tweets
> Accept: application/json
< 200
< Content-Type: application/json
{ "items": [
  { "url": "/feed", "range":"2ZY48XPZ", "quantity": 1, "name": "New
socks", "price": 1.25 }
] }
Mock > Use > Implement

                    Using this more
                    structured approach
                    gives you more benefits
                    at once. Once you finish
                    designing, your
                    documentation and test
                    suite are in sync.




Testing        Documentation
                                         apiary.io
TESLA MODEL S
Among other APIs
that were
documented in
Apiary was Tesla
Model S.
apiary.io

E-MAIL   jakub@apiary.io   TWITTER   @apiaryio
PHOTO CREDITS


http://www.flickr.com/photos/ironrodart/4308675209/sizes/o/
http://www.flickr.com/photos/30030574@N03/3633431964/

More Related Content

What's hot (20)

PPT
Appium tutorial| Appium Training
QA Masters
 
PDF
Automating Hybrid Applications with Appium
Sauce Labs
 
PDF
Clickslide Datadipity Beta V1
Gabriel Ortiz
 
PDF
Espresso testing
vodqancr
 
PPTX
Making your ML / AI Enterprise ready with Microsoft !
Ashok S (AI , Robot, BigData) ✅
 
PPTX
Migrating From Angular 1.x to Angular 2+
Asim Hussain
 
PPTX
My summary 6-24-2013
Abdel Salam Sayyad
 
PPTX
Migrating from AngularJS when you can't use the word "Big Bang@
Asim Hussain
 
PDF
A Better Interface Builder Experience
Justin Munger
 
PDF
Introduction to APIs
Camille Baldock
 
PDF
IBM Bluemix Cloud Platform Application Development with Eclipse IDE
hkbhadraa
 
PDF
Angular routing
Sultan Ahmed
 
DOCX
Untitled
Tatyana Remayeva
 
PDF
Appium Architecture | How Appium Works | Edureka
Edureka!
 
PDF
Improving Android app testing with Appium and Sauce Labs
Isaac Murchie
 
PPTX
AHOY FB Hack Day 2017
Ian Yu-Hsun Lin
 
PDF
Rapid Development with Azure Spring Cloud
VMware Tanzu
 
PPTX
GAB2017 - Azure function to build serverless SharePoint apps
Riwut Libinuko
 
PPTX
Azure Automation - Azure Vidyapeeth
Abdul Rasheed Feroz Khan
 
Appium tutorial| Appium Training
QA Masters
 
Automating Hybrid Applications with Appium
Sauce Labs
 
Clickslide Datadipity Beta V1
Gabriel Ortiz
 
Espresso testing
vodqancr
 
Making your ML / AI Enterprise ready with Microsoft !
Ashok S (AI , Robot, BigData) ✅
 
Migrating From Angular 1.x to Angular 2+
Asim Hussain
 
My summary 6-24-2013
Abdel Salam Sayyad
 
Migrating from AngularJS when you can't use the word "Big Bang@
Asim Hussain
 
A Better Interface Builder Experience
Justin Munger
 
Introduction to APIs
Camille Baldock
 
IBM Bluemix Cloud Platform Application Development with Eclipse IDE
hkbhadraa
 
Angular routing
Sultan Ahmed
 
Appium Architecture | How Appium Works | Edureka
Edureka!
 
Improving Android app testing with Appium and Sauce Labs
Isaac Murchie
 
AHOY FB Hack Day 2017
Ian Yu-Hsun Lin
 
Rapid Development with Azure Spring Cloud
VMware Tanzu
 
GAB2017 - Azure function to build serverless SharePoint apps
Riwut Libinuko
 
Azure Automation - Azure Vidyapeeth
Abdul Rasheed Feroz Khan
 

Viewers also liked (20)

KEY
REST API tools
Jakub Nesetril
 
PDF
Jakub Nešetřil: Jak (ne)dělat API
WebExpo
 
PPTX
Servicios médicos
Time Solutions S.A.
 
PDF
Harmony in API Design
Jakub Nesetril
 
PDF
Consuming API description languages - Refract & Minim
Jakub Nesetril
 
PDF
NodeJS, CoffeeScript & Real-time Web
Jakub Nesetril
 
PDF
Avoiding API Waterfalls
Jakub Nesetril
 
PDF
Startup Accelerators
Jakub Nesetril
 
PDF
Budoucnost Web Aplikaci
Jakub Nesetril
 
PDF
Post-REST Manifesto
Jakub Nesetril
 
PDF
Introduction to GoodData BI PaaS
Jakub Nesetril
 
ZIP
Advanced Regular Expressions Redux
Jakub Nesetril
 
KEY
Introduction to node.js
Jakub Nesetril
 
PDF
GoodData: One Stop Shop for Analytics
Jakub Nesetril
 
KEY
Let's Have a Cup of CoffeeScript
Nicolás Sanguinetti
 
PDF
Node at Apiary.io
Jakub Nesetril
 
PDF
API Design Workflows
Jakub Nesetril
 
PPTX
Apiary
Suresh B
 
PDF
Real-time Web a NodeJS
Jakub Nesetril
 
PDF
Microservice Stategies - Scaling your API design workflow
Jakub Nesetril
 
REST API tools
Jakub Nesetril
 
Jakub Nešetřil: Jak (ne)dělat API
WebExpo
 
Servicios médicos
Time Solutions S.A.
 
Harmony in API Design
Jakub Nesetril
 
Consuming API description languages - Refract & Minim
Jakub Nesetril
 
NodeJS, CoffeeScript & Real-time Web
Jakub Nesetril
 
Avoiding API Waterfalls
Jakub Nesetril
 
Startup Accelerators
Jakub Nesetril
 
Budoucnost Web Aplikaci
Jakub Nesetril
 
Post-REST Manifesto
Jakub Nesetril
 
Introduction to GoodData BI PaaS
Jakub Nesetril
 
Advanced Regular Expressions Redux
Jakub Nesetril
 
Introduction to node.js
Jakub Nesetril
 
GoodData: One Stop Shop for Analytics
Jakub Nesetril
 
Let's Have a Cup of CoffeeScript
Nicolás Sanguinetti
 
Node at Apiary.io
Jakub Nesetril
 
API Design Workflows
Jakub Nesetril
 
Apiary
Suresh B
 
Real-time Web a NodeJS
Jakub Nesetril
 
Microservice Stategies - Scaling your API design workflow
Jakub Nesetril
 
Ad

Similar to Art of Building APIs (20)

PPTX
Building a REST API for Longevity
MuleSoft
 
PDF
Building A Great API - Evan Cooke, Cloudstock, December 2010
Twilio Inc
 
ZIP
The Twitter API: A Presentation to Adobe
Alex Payne
 
PDF
Tools for designing and building great APIs
Kong Inc.
 
PDF
Api Design Patterns Meap V07 Meap V07 Jj Geewax
mohellrakes
 
PDF
oracle-apac-developers-meetup-2-building-api-with-apiary-slides
Boopathy Balasubramanian
 
PDF
Third party api integration
Metricoid Technology
 
PDF
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
TheFamily
 
PPTX
More Coverage, Better Diagnostics
SmartBear
 
PDF
I Love APIs - Oct 2015
Mike McNeil
 
PDF
API Introduction - API Management Workshop Munich from Ronnie Mitra
CA API Management
 
PDF
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
PDF
6 Reasons Why APIs Are Reshaping Your Business
Fabernovel
 
PPTX
Api design part 1
Ibrahim Elsawaf
 
PPTX
Considerations For an API Strategy - Ronnie MItra API Architect Layer 7 Londo...
CA API Management
 
PPTX
Tools and techniques for APIs
Jason Harmon
 
PPTX
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
PDF
Setup API Introductie
annehelmond
 
PDF
"Design First" APIs with Swagger
scolestock
 
PDF
A_Complete_Guide_to_API_Development.pdf
PamRobert
 
Building a REST API for Longevity
MuleSoft
 
Building A Great API - Evan Cooke, Cloudstock, December 2010
Twilio Inc
 
The Twitter API: A Presentation to Adobe
Alex Payne
 
Tools for designing and building great APIs
Kong Inc.
 
Api Design Patterns Meap V07 Meap V07 Jj Geewax
mohellrakes
 
oracle-apac-developers-meetup-2-building-api-with-apiary-slides
Boopathy Balasubramanian
 
Third party api integration
Metricoid Technology
 
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
TheFamily
 
More Coverage, Better Diagnostics
SmartBear
 
I Love APIs - Oct 2015
Mike McNeil
 
API Introduction - API Management Workshop Munich from Ronnie Mitra
CA API Management
 
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
6 Reasons Why APIs Are Reshaping Your Business
Fabernovel
 
Api design part 1
Ibrahim Elsawaf
 
Considerations For an API Strategy - Ronnie MItra API Architect Layer 7 Londo...
CA API Management
 
Tools and techniques for APIs
Jason Harmon
 
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
Setup API Introductie
annehelmond
 
"Design First" APIs with Swagger
scolestock
 
A_Complete_Guide_to_API_Development.pdf
PamRobert
 
Ad

Recently uploaded (20)

PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
July Patch Tuesday
Ivanti
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 

Art of Building APIs