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
Froilan Irizarry
May 21, 2018
Technology
0
50
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
16
Code 4 Puerto Rico - Participacion Civica en la Era Digital
froi
0
63
Python, Government, and Contracts: providing a tool to investigate corruption
froi
0
39
open-oakland-hacknight-2018-05-29
froi
0
39
Code 4 PR - Civic Hacker
froi
0
54
The Hacker Ethic y como puede transformar a Puerto Rico
froi
0
83
Python for beginners in Python
froi
0
82
Other Decks in Technology
See All in Technology
AWS認定を取る中で感じたこと
siromi
1
190
Beyond Kaniko: Navigating Unprivileged Container Image Creation
f30
0
130
american aa airlines®️ USA Contact Numbers: Complete 2025 Support Guide
aaguide
0
180
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
170
What’s new in Android development tools
yanzm
0
320
Core Audio tapを使ったリアルタイム音声処理のお話
yuta0306
0
190
B2C&B2B&社内向けサービスを抱える開発組織におけるサービス価値を最大化するイニシアチブ管理
belongadmin
1
7.1k
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
4
3.9k
Delta airlines Customer®️ USA Contact Numbers: Complete 2025 Support Guide
deltahelp
0
710
スタートアップに選択肢を 〜生成AIを活用したセカンダリー事業への挑戦〜
nstock
0
210
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
340
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
130
Featured
See All Featured
Designing for Performance
lara
610
69k
It's Worth the Effort
3n
185
28k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Speed Design
sergeychernyshev
32
1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Embracing the Ebb and Flow
colly
86
4.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
820
KATA
mclloyd
30
14k
Site-Speed That Sticks
csswizardry
10
690
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
The Cult of Friendly URLs
andyhume
79
6.5k
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]