
Damon Pace • about 8 years ago
Destination Necessary?
Do I have to provide a destination to make a request? What if my user doesn't know or specify to me where they are headed? Shouldn't I only need a pickup location...just like the Uber app?
Comments are closed.
7 comments
Uber Developer Manager • about 8 years ago
Hi Damon, you do not need to provide a destination to make a request if you are using the request endpoint .That is optional.
Uber Developer Manager • about 8 years ago
Damon- Sorry for the confusion, but after looking into the guidelines the destination is indeed mandatory. Maybe in the future we will open that piece up, but as it sits right now you will need to enter a destination. Sorry about the confusion.
Ahmed Nizam • about 8 years ago
Destination should be optional to make the request API smooth. Its very rare that I give a destination while booking a Cab in Uber app. People will expect the same experience here.
As a developer, we want to make an application that has better context than Uber. If we miss to make a few glitches, users will use the Uber app directly :)
Ahmed Nizam • about 8 years ago
Is it okay if we create application assuming that destination will be optional in future?
We can right now fake the request by giving destination as my_latitude+0.001, my_longitude+0.001
Because on a wearable, choosing a destination is lot harder. I would like to have the same flexibility like the Uber app.
Ahmed Nizam • about 8 years ago
Hi Moderator,
Can you please reply for the above post.
Uber Developer Manager • about 8 years ago
You should not be setting the destination to anything other than the actual destination for the rider. This is because we give this information to our partner drivers which provides them GPS navigation. If you provide an incorrect destination, this will produce a poor user experience.
However, at this time, if you make a POST to `/v1/requests` without a destination location, the request will still work, but only in production. However, the sandbox will not function without it. This is considered unsupported at the moment and we may break applications in the future that do not provide a destination.
Ahmed Nizam • about 8 years ago
Thats cool. I guess my final app is not going to have a sandbox mode. So I can design my app without giving a destination. To test in sandbox mode, I will provide a popup or setting to choose the destination lat long.