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
66
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
23
What do users value? Creating a game-like survey with Next.js
brendannee
0
80
React Native - An Introduction
brendannee
0
160
Mobile Web App Technology Roundup
brendannee
0
74
Building a Developer Platform
brendannee
0
56
Transportation Startups in the Bay Area
brendannee
0
44
How to ask your Neighbor for a Cup of Car
brendannee
0
49
modepick.com - a tool for comparing time cost of carsharing, transit, biking and walking for the Bay Area
brendannee
0
60
Car Sharing
brendannee
0
99
Other Decks in Technology
See All in Technology
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
350
Can We Measure Developer Productivity?
ewolff
1
150
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
370
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
180
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
150
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Raft: Consensus for Rubyists
vanstee
136
6.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Invisible Side of Design
smashingmag
298
50k
Building Your Own Lightsaber
phodgson
103
6.1k
Automating Front-end Workflow
addyosmani
1366
200k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Building Adaptive Systems
keathley
38
2.3k
Agile that works and the tools we love
rasmusluckow
327
21k
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