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
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
Context Engineeringの取り組み
nutslove
0
320
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
210
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
100
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
380
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
130
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
530
Greatest Disaster Hits in Web Performance
guaca
0
200
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Leo the Paperboy
mayatellez
4
1.4k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
AI: The stuff that nobody shows you
jnunemaker
PRO
2
250
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
92
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
Fireside Chat
paigeccino
41
3.8k
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]