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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
93
Python for beginners in Python
froi
0
84
Other Decks in Technology
See All in Technology
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
180
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
190
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.1k
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
Amazon Bedrock AgentCore 認証・認可入門
hironobuiga
3
520
データの整合性を保ちたいだけなんだ
shoheimitani
8
2.9k
MySQLのJSON機能の活用術
ikomachi226
0
150
Agile Leadership Summit Keynote 2026
m_seki
1
430
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
270
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.1k
Featured
See All Featured
Writing Fast Ruby
sferik
630
62k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
RailsConf 2023
tenderlove
30
1.3k
30 Presentation Tips
portentint
PRO
1
210
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
First, design no harm
axbom
PRO
2
1.1k
Abbi's Birthday
coloredviolet
1
4.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Documentation Writing (for coders)
carmenintech
77
5.2k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
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]