Uber Ride API - Driver -


we busy looking @ uber ride api , find out following:

  1. is all_trips scope applicable if oauth authorized user uber driver?
  2. will webhook invoke events everytime when driver accepts/cancels/completes trips?
  3. will webhook invoked during real trip while app under development or work in sandbox?

  1. no. all_trips scope works riders.

  2. yes. every trip status change triggers webhook. possible statuses changes are:

    • processing
    • no_drivers_available
    • accepted
    • arriving
    • in_progress
    • driver_canceled
    • rider_canceled
    • completed.

(list pulled here, according webhooks documentation here).

  1. yes. if grant app all_trips scope, uber api send webhooks url have registered @ developer.uber.com/dashboard every trip take, i.e. sandbox , real trips alike. note there no way flag uber app "in development" or "in production".

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -