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
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
1
17k
Sansanのデータプロダクトマネジメントのアプローチ
sansantech
PRO
0
160
Delegating the chores of authenticating users to Keycloak
ahus1
0
140
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
440
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
300
Lazy application authentication with Tailscale
bluehatbrit
0
210
CRE Camp #1 エンジニアリングを民主化するCREチームでありたい話
mntsq
1
120
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
270
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
120
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
140
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.7k
Flutter向けPDFビューア、pdfrxのpdfium WASM対応について
espresso3389
0
130
Featured
See All Featured
Making Projects Easy
brettharned
116
6.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
970
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
A designer walks into a library…
pauljervisheath
207
24k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
We Have a Design System, Now What?
morganepeng
53
7.7k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Visualization
eitanlees
146
16k
Building Adaptive Systems
keathley
43
2.7k
Rails Girls Zürich Keynote
gr2m
95
14k
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]