Skip to content

API Documentation

Luis-Johannes Schubert edited this page Apr 24, 2017 · 1 revision

all api calls go to /api/...

getTravelTime (POST) JSON

Parameters:
  • originLongitude
  • originLatitude
  • destinationAddress
  • estimatePickupTime
  • pickUpAddress //OPTIONAL

getEstimatePickupTime (POST) JSON

Parameters:
  • originLongitude
  • originLatitude

signup (POST) JSON

Parameters:
  • name
  • email
  • password
  • confpassword
  • isdriver
  • licenseplate (if driver)
  • color (if driver)
  • year (if driver)
  • make (if driver)

login (POST) JSON

Parameters:
  • email
  • password