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
68
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
28
What do users value? Creating a game-like survey with Next.js
brendannee
0
86
React Native - An Introduction
brendannee
0
160
Mobile Web App Technology Roundup
brendannee
0
80
Building a Developer Platform
brendannee
0
62
Transportation Startups in the Bay Area
brendannee
0
46
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
67
Car Sharing
brendannee
0
110
Other Decks in Technology
See All in Technology
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
210
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
5分でわかるDuckDB
chanyou0311
10
3.2k
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
250
ハイテク休憩
sat
PRO
2
120
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
120
NilAway による静的解析で「10 億ドル」を節約する #kyotogo / Kyoto Go 56th
ytaka23
3
370
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
210
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
120
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
360
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
A better future with KSS
kneath
238
17k
Rails Girls Zürich Keynote
gr2m
94
13k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
It's Worth the Effort
3n
183
28k
How to Ace a Technical Interview
jacobian
276
23k
Writing Fast Ruby
sferik
628
61k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
4 Signs Your Business is Dying
shpigford
181
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
94
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