Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
18
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
42
Code 4 PR - Civic Hacker
froi
0
56
The Hacker Ethic y como puede transformar a Puerto Rico
froi
0
88
Python for beginners in Python
froi
0
84
Other Decks in Technology
See All in Technology
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
形式手法特論:CEGAR を用いたモデル検査の状態空間削減 #kernelvm / Kernel VM Study Hokuriku Part 8
ytaka23
2
460
初めてのDatabricks AI/BI Genie
taka_aki
0
150
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
250
AIプラットフォームにおけるMLflowの利用について
lycorptech_jp
PRO
1
140
Databricks向けJupyter Kernelでデータサイエンティストの開発環境をAI-Readyにする / Data+AI World Tour Tokyo After Party
genda
1
120
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
450
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
190
日本Rubyの会の構造と実行とあと何か / hokurikurk01
takahashim
4
1.1k
AWSセキュリティアップデートとAWSを育てる話
cmusudakeisuke
0
270
AWS CLIの新しい認証情報設定方法aws loginコマンドの実態
wkm2
6
740
Karate+Database RiderによるAPI自動テスト導入工数をCline+GitLab MCPを使って2割削減を目指す! / 20251206 Kazuki Takahashi
shift_evolve
PRO
1
750
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
10k
The Language of Interfaces
destraynor
162
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Designing for Performance
lara
610
69k
Docker and Python
trallard
47
3.7k
Side Projects
sachag
455
43k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Scaling GitHub
holman
464
140k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Code Review Best Practice
trishagee
74
19k
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]