Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
api-working-group-presentation.pdf
Search
Froilan Irizarry
May 21, 2018
Technology
63
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
api-working-group-presentation.pdf
An overview of the Code.gov API for the GSA API working group.
Froilan Irizarry
May 21, 2018
More Decks by Froilan Irizarry
See All by Froilan Irizarry
GitHub Presente - Civic Tech
froi
0
29
Code 4 Puerto Rico - Participacion Civica en la Era Digital
froi
0
72
Python, Government, and Contracts: providing a tool to investigate corruption
froi
0
59
open-oakland-hacknight-2018-05-29
froi
0
53
Code 4 PR - Civic Hacker
froi
0
60
The Hacker Ethic y como puede transformar a Puerto Rico
froi
0
110
Python for beginners in Python
froi
0
100
Other Decks in Technology
See All in Technology
eBPF 簡介 2026 版
shunghsiyu
0
170
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
110
仕様駆動開発の、その先へ。決める力と確かめる仕組み
inariku
1
170
20261016_Nagoya Tech Talk #4 データ活用のリアル AIも人も間違える
bessaralink55
0
150
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
コードレビューをなくして見えたもの
henteko
0
130
「作れる」と「リリースできる」の間にあったもの── PdMを外して見えた、PdMがやるべき仕事/Buildable ≠ Shippable: What Removing the PM Taught Me About the PM’s Job
yappli_developers
0
440
AI秘書と毎日働くのはもう当たり前。開発以外の業務に足りない機能をどう埋める?
minorun365
PRO
4
2.2k
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
390
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
250
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
170
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
670
Featured
See All Featured
Speed Design
sergeychernyshev
33
2.2k
Scaling GitHub
holman
464
140k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Side Projects
sachag
456
43k
Tell your own story through comics
letsgokoyo
1
1.1k
The Invisible Side of Design
smashingmag
301
52k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
580
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Evolving SEO for Evolving Search Engines
ryanjones
0
350
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
970
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
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]