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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Brendan Nee
September 17, 2014
Technology
120
0
Share
Hello World Automatic API
Brendan Nee
September 17, 2014
More Decks by Brendan Nee
See All by Brendan Nee
Transit Data on Transit Websites
brendannee
0
70
What do users value? Creating a game-like survey with Next.js
brendannee
0
170
React Native - An Introduction
brendannee
0
230
Mobile Web App Technology Roundup
brendannee
0
160
Building a Developer Platform
brendannee
0
150
Transportation Startups in the Bay Area
brendannee
0
77
How to ask your Neighbor for a Cup of Car
brendannee
0
66
modepick.com - a tool for comparing time cost of carsharing, transit, biking and walking for the Bay Area
brendannee
0
130
Car Sharing
brendannee
0
180
Other Decks in Technology
See All in Technology
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.8k
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
670
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
620
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
170
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
0
270
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
3
2.1k
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
990
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
Datadog 認定試験の概要と対策
uechishingo
0
220
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
3
540
Databricks における 生成AIガバナンスの実践
taka_aki
1
210
AIを「創る」と「使う」の循環 — HRテックが実践するリアルなAI組織実装
taketo957
0
580
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
150
Writing Fast Ruby
sferik
630
63k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
We Have a Design System, Now What?
morganepeng
55
8.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
950
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
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