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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
240
Growing open source communities on GitHub around your WordPress plugin or theme
benbalter
1
270
It takes a digital village
benbalter
1
540
Open source workflows in highly regulated environments
benbalter
0
100
Optimize for Developer Happiness
benbalter
0
300
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
180
Other Decks in Technology
See All in Technology
脳内メモリ、思ったより揮発性だった
koutorino
0
360
AI時代のSaaSとETL
shoe116
1
150
【Oracle Cloud ウェビナー】【入門編】はじめてのOracle AI Data Platform - AIのためのデータ準備&自社用AIエージェントをワンストップで実現
oracle4engineer
PRO
1
110
[E2]CCoEはAI指揮官へ。Bedrock×MCPで構築するコスト・セキュリティ自律運用基盤
taku1418
0
170
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Google系サービスで文字起こしから勝手にカレンダーを埋めるエージェントを作った話
risatube
0
180
身体を持ったパーソナルAIエージェントの 可能性を探る開発
yokomachi
1
120
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
210
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
140
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
270
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
4
340
SRE NEXT 2026 CfP レビュアーが語る聞きたくなるプロポーザルとは?
yutakawasaki0911
1
330
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
470k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
480
WENDY [Excerpt]
tessaabrams
9
36k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Darren the Foodie - Storyboard
khoart
PRO
3
2.9k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
190
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
71
We Are The Robots
honzajavorek
0
200
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
Statistics for Hackers
jakevdp
799
230k
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