Can you request a driver's info via Uber API? - uber-api

Can you request a driver's car make/model, name, location, and rating via Uber API?

When a user is on a trip, all of that information is available to you (with regards to the driver who is currently giving the user a ride) when you request the status of the users trip: https://developer.uber.com/docs/v1-requests-current
If you're asking wether that information can be obtained about the user themselves (if they are also a driver), that feature is not currently supported by the Uber API.

Related

Using Uber Driver API to know when pickups are going to happen?

Is there a way to use the Uber Driver API to be notified when the driver is a certain distance away from doing a pickup?
No, this is not one of the endpoints on the Uber driver API. The existing endpoints are profile, payments, & trips: https://developer.uber.com/docs/drivers/introduction
Real time availability / status of a driver is not a current existing driver API endpoint.

Uber API retrieve driver history

on Uber developer documentation i have seen that is possible to retrieve the histroy trip about user.
Is possible to retrieve the list of driver trip with start city and end city into response?
The /trips endpoint with the Driver API is essentially /history for drivers. You are correct that this does not include end city, just the start city: https://developer.uber.com/docs/drivers/references/api/v1/partners-trips-get
So if you need the destination location for Driver history, that is currently not possible with Driver API. Thanks for the request, but no changes imminent there.

Uber API to detect rides

Is it possible to use the Uber API to detect rides that originated from the Uber app?
I'm trying to get a machine learning system to learn when you are using uber.
No, whether a ride originated from the Uber app or from a separate integration is not a field/endpoint in the current Uber API.
Not sure if this is exactly what you are looking for but something that might be helpful is the /history endpoint. "The User Activity endpoint returns a limited amount of data about a user’s lifetime activity with Uber. The response will include pickup and dropoff times, the city the trips took place in, the distance of past requests, and information about which products were requested."
Documentation: https://developer.uber.com/docs/riders/references/api/v1.2/history-get

using history api of Uber

I am trying to build a process to consume history api of Uber to display details of the users trips on one of my webpage. Has anyone done this?
I see that api definition on the UBER site
https://developer.uber.com/docs/rides/api/v12-history
However this does not provide how to provide the driver id? How can i get to the history of one particular driver?
All i need is trip details for every driver - assuming the driver id is available.
Any request sample will actually help.
Uber currently does not have API endpoints that provide information about driver activity. This is something we are considering, but at this time we do not have any public plans for a release.
Thanks for your interest in the Uber API. Follow #Uber_API and visit devblog.uber.com for updates and announcements.

Uber API - Driver

Does the Uber API currently allow a "driver" to login and then determine if the driver has a current request that is "in_progress". My app needs to verify in real-time if the API authenticated driver (via OAuth) is currently driving passengers. It seems like most of the API is from a "rider" standpoint as opposed to a driver.
I think there is no API currently for driver side, only rider clients can make requests to Uber endpoints now.