Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hello World Automatic API

Brendan Nee
September 17, 2014

Hello World Automatic API

Brendan Nee

September 17, 2014

More Decks by Brendan Nee

Other Decks in Technology


  1. 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”
  2. Authorization (quick way) https://dashboard.automatic.com/ • Login • Open Developer Console

    • sessionStorage.accessToken 9386f14f3e289feab41e2c1a577a1ba5e3215166
  3. 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
  4. • Read developer documentation https://automatic.com/developer/documentation • Try out Automaticator App

    https://github.com/automatic/automaticator • Ask me questions Next Steps