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
Hello World Automatic API
Search
Brendan Nee
September 17, 2014
Technology
0
82
Hello World Automatic API
Brendan Nee
September 17, 2014
Tweet
Share
More Decks by Brendan Nee
See All by Brendan Nee
Transit Data on Transit Websites
brendannee
0
42
What do users value? Creating a game-like survey with Next.js
brendannee
0
100
React Native - An Introduction
brendannee
0
180
Mobile Web App Technology Roundup
brendannee
0
97
Building a Developer Platform
brendannee
0
76
Transportation Startups in the Bay Area
brendannee
0
47
How to ask your Neighbor for a Cup of Car
brendannee
0
53
modepick.com - a tool for comparing time cost of carsharing, transit, biking and walking for the Bay Area
brendannee
0
82
Car Sharing
brendannee
0
120
Other Decks in Technology
See All in Technology
新卒1年目のフロントエンド開発での取り組み/New grad front-end efforts
kaonavi
0
150
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
20k
SSH公開鍵認証による接続 / Connecting with SSH Public Key Authentication
kaityo256
PRO
2
270
3/26 クラウド食堂LT #2 GenU案件を通して学んだ教訓 登壇資料
ymae
1
240
50人の組織でAIエージェントを使う文化を作るためには / How to Create a Culture of Using AI Agents in a 50-Person Organization
yuitosato
4
1.9k
Restarting_SRE_Road_to_SRENext_.pdf
_awache
1
230
AWS CDK コントリビュート はじめの一歩
yendoooo
1
140
製造業の会計システムをDDDで開発した話
caddi_eng
3
1.1k
コドモンのQAの今までとこれから -XPによる成長と見えてきた課題-
masasuna
0
150
AIエージェント開発における「攻めの品質改善」と「守りの品質保証」 / 2024.04.09 GPU UNITE 新年会 2025
smiyawaki0820
0
250
SRE NEXT CfP チームが語る 聞きたくなるプロポーザルとは / Proposals by the SRE NEXT CfP Team that are sure to be accepted
chaspy
1
460
バックエンド留学した話/Backend study abroad story
kaonavi
0
140
Featured
See All Featured
KATA
mclloyd
29
14k
Speed Design
sergeychernyshev
28
870
4 Signs Your Business is Dying
shpigford
183
22k
GitHub's CSS Performance
jonrohan
1030
460k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.5k
A better future with KSS
kneath
239
17k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
We Have a Design System, Now What?
morganepeng
51
7.5k
The Pragmatic Product Professional
lauravandoore
33
6.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
7
630
Into the Great Unknown - MozCon
thekraken
36
1.7k
Building an army of robots
kneath
304
45k
Transcript
Hello World Automatic API Automatic Lunch & Learn Sep 17,
2014
None
Automatic API REST Webhook User requested “Give me all of
the trips for this user between these dates” Sent by Automatic “This user finished a trip just now, here it is”
REST Webhook Automatic API TripViewer Automaticator
Automatic API • Trips • Vehicles • User Info •
Events REST Endpoints
Trips Endpoint GET https://api.automatic.com/v1/trips curl -H "Authorization: token YOUR-OAUTH-TOKEN" "https://api.automatic.com/v1/trips"
None
Authorization https://www.automatic.com/developer/dashboard/
Authorization https://www.automatic.com/developer/dashboard/
Authorization (quick way) https://dashboard.automatic.com/ • Login • Open Developer Console
• sessionStorage.accessToken 9386f14f3e289feab41e2c1a577a1ba5e3215166
Sample App https://github.com/automatic/tripviewer • Handles oAuth • Fetches trips •
Easy to deploy
Requirements • Git • Node.js • Text editor https://gist.github.com/brendannee/a8d07f76a485710a560e
Hello World Automatic API git clone https://github.com/Automatic/tripviewer.git cd tripviewer npm
install cp config-sample.json config.json TOKEN=YOUR-AUTOMATIC-ACCESS-TOKEN npm start Open http://localhost:3000 in your browser
Text Editor https://atom.io/
Editing Text public/javascripts/summary.js views/summary.jade
• Read developer documentation https://automatic.com/developer/documentation • Try out Automaticator App
https://github.com/automatic/automaticator • Ask me questions Next Steps