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
api-working-group-presentation.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Froilan Irizarry
May 21, 2018
Technology
0
52
api-working-group-presentation.pdf
An overview of the Code.gov API for the GSA API working group.
Froilan Irizarry
May 21, 2018
Tweet
Share
More Decks by Froilan Irizarry
See All by Froilan Irizarry
GitHub Presente - Civic Tech
froi
0
19
Code 4 Puerto Rico - Participacion Civica en la Era Digital
froi
0
66
Python, Government, and Contracts: providing a tool to investigate corruption
froi
0
43
open-oakland-hacknight-2018-05-29
froi
0
44
Code 4 PR - Civic Hacker
froi
0
56
The Hacker Ethic y como puede transformar a Puerto Rico
froi
0
94
Python for beginners in Python
froi
0
84
Other Decks in Technology
See All in Technology
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
110
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
850
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
580
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
320
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
AWS Network Firewall Proxyを触ってみた
nagisa53
0
200
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
520
20260204_Midosuji_Tech
takuyay0ne
1
140
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
180
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Ruling the World: When Life Gets Gamed
codingconduct
0
140
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Mobile First: as difficult as doing things right
swwweet
225
10k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
The Curious Case for Waylosing
cassininazir
0
230
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
110
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Transcript
Sharing America’s Code 1 Code.gov
@froi @skfroi Froilán Irizarry Backend Engineer
3 One API to share them all
4 GSA/code-gov-api
Endpoints • /repos • /repos/:id • /terms • /languages •
/status.json • /docs • /agencies • /repo.json • /status • /status/:agency/issues • /status/:agency/fetched • /status/:agency/discovered
Repos https://api.code.gov/repos?agency.acronym=NASA& api_key=DEMO_KEY https://api.code.gov/repos?size=10&from=100& api_key=DEMO_KEY https://api.code.gov/repos?q=rest api& api_key=DEMO_KEY https://api.code.gov/repos/gsa_18f_rugged_devops? api_key=DEMO_KEY
https://api.code.gov/repos?api_key=DEMO_KEY 6
https://api.code.gov/terms?api_key=DEMO_KEY https://api.code.gov/terms?term=NASA& api_key=DEMO_KEY https://api.code.gov/terms?size=10&from=100& api_key=DEMO_KEY Terms 7
Swagger Docs https://api.code.gov/docs 8
9 How Does Code.gov Work? Agency 3 code.json Agency 2
code.json Agency 1 code.json harvest index validate format internet API
express Our Tech Stack 10
Why? 11 express
12 Why?
13 License
GSA API Standards 14
https://developers.code.gov 15
What we have embraced • Always HTTPS • Use API
key (YAY api.data.gov!) • Just use JSON • We eat our own dog food • We have CORS enabled • We use GSA’s API Documentation Template 16
What we haven’t embraced 17 • Versioning in the URL
• Pagination (sort of) • Proper error handling
Follow us @Codedotgov Join us at GSA/code-gov Get In Touch
With Us Email us
[email protected]