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
56
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
7
What do users value? Creating a game-like survey with Next.js
brendannee
0
66
React Native - An Introduction
brendannee
0
130
Mobile Web App Technology Roundup
brendannee
0
59
Building a Developer Platform
brendannee
0
51
Transportation Startups in the Bay Area
brendannee
0
32
How to ask your Neighbor for a Cup of Car
brendannee
0
45
modepick.com - a tool for comparing time cost of carsharing, transit, biking and walking for the Bay Area
brendannee
0
48
Car Sharing
brendannee
0
76
Other Decks in Technology
See All in Technology
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
4.6k
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
940
止まらないLinuxシステムを構築する_高信頼性クラスタ入門
koedoyoshida
3
2.3k
高専で制御を、大学でセンシングを学び、次は脳みそ
satoshirobatofujimoto
0
120
さらばあのボタンとは言わせない SORACOM LTE-M Button powerd by AWSをまだ使えるようにした(前編?)
miura55
0
100
Amplify 🩷 Bedrock 〜生成AI入門〜
minorun365
PRO
9
1.1k
しくじり先生、PharmaXのLLMアプリケーション開発の失敗を語る
pharma_x_tech
0
110
M5stackで使用できるpHセンサの開発
shinrinakamura
0
260
生産性向上チームの紹介
cybozuinsideout
PRO
1
960
ルーターでプレゼンする
puhitaku
1
3.4k
Grafana x PagerDuty Better Together
jacopen
1
310
MixIT 2024 - Pulumi : Gérer son infra avec son langage de programmation préféré
ju_hnny5
1
120
Featured
See All Featured
Unsuck your backbone
ammeep
664
57k
Visualization
eitanlees
137
14k
Git: the NoSQL Database
bkeepers
PRO
423
63k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Agile that works and the tools we love
rasmusluckow
325
20k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
A designer walks into a library…
pauljervisheath
201
23k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
188
16k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
How to train your dragon (web standard)
notwaldorf
75
5.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
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