Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Three simple rules for building APIs
Search
Ben Balter
March 31, 2015
Technology
1
520
Three simple rules for building APIs
APIs should be simple, semantic, and supported.
Ben Balter
March 31, 2015
Tweet
Share
More Decks by Ben Balter
See All by Ben Balter
A community of communities: Empowering maintainers to grow communities around their code
benbalter
1
1.3k
Fostering a culture of collaboration
benbalter
0
230
Growing open source communities on GitHub around your WordPress plugin or theme
benbalter
1
270
It takes a digital village
benbalter
1
510
Open source workflows in highly regulated environments
benbalter
0
100
Optimize for Developer Happiness
benbalter
0
290
The technology is the easy part
benbalter
2
310
How to foster an open source culture inside Government
benbalter
3
2.5k
Open source inspired workflows for open (and closed) geospatial data
benbalter
0
170
Other Decks in Technology
See All in Technology
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
210
Greatest Disaster Hits in Web Performance
guaca
0
250
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
Context Engineeringの取り組み
nutslove
0
350
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
300
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
120
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
240
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.6k
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
230
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
590
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
94
The Curious Case for Waylosing
cassininazir
0
240
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
75
The Language of Interfaces
destraynor
162
26k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
82
Believing is Seeing
oripsolob
1
55
Transcript
! Three simple rules for building an API Ben Balter
@benbalter
[email protected]
government.github.com
! All APIs should be three things
! APIs should be simple
! APIs should be semantic
! APIs should be supported
! All APIs should be simple
! Let’s say you want a list of open source
licenses…
! Option 0: scrape opensource.org Option 1: scrape spdx.org Option
2: parce an excel file
! Pro-tip: prototype your API
! choosealicense.com/licenses.json
! Meh.
! api.github.com/licenses
None
! api.github.com/licenses/mit
None
! api.github.com/repos/benbalter/gman
None
! All APIs should be semantic
! FDsys is not
! The FAR
! (Thunder and dramatic music)
None
! Web developers love 2+ MB XML files
! Data should be immediately valuable
! github.com/benbalter/so_far_so_good
! Data should make sense to computers
None
! Data should make sense to humans
None
! Data shouldn’t mimic their paper counterparts
! Data should be reimagined for the web
! Optimize for developer happiness
! All APIs should be supported
!
[email protected]
doesn’t scale
!
[email protected]
is a great way to answer the same
question over and over again
! Users have (the same) questions
! The only appropriate way to answer a question about
your API is with a URL
! Today, the first step to solving any problem is
to Google it
! Microsoft has been rocking the knowledge base for decades
! Bonus #1: Your community will answer its own questions
None
! Bonus #2: Collaborative documentation
None
None
! If you liked it then you should have put
a URL on it
! To review…
! APIs should be simple
! APIs should be semantic
! APIs should be supported
! Three simple rules for building an API Ben Balter
@benbalter
[email protected]
government.github.com