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
Related
I want to know whether I can use uber api to track the ride real-time basis. I have found uber help suggest the following:
"Can I see the path a rider took during a trip?"
This feature is only available for ongoing UberPOOL rides. The request details return a set of waypoints (incl. pickup and dropoff locations) for each UberPOOL ride. This information is not accessible in the history but just during the ride.
So does it mean it is not applicable to other types of ride? Please let me know. It will be great if someone can suggest exact API endpoint for tracking the ride on a real-time basis.
Thanks.
It can be checked for any type of ride that you've requested
The Ride Request endpoint allows retrieving the status of an ongoing or completed trip that was created by your app
You have a few different options
Ride Request - Map API
Ride Request - Current API
Ride Request - Details API
We have an Uber company-level account with a lot of autos working in the Uber application (~ 50-100 depends on several cases).
Now we are building analytic app, that aggregates information about each car earnings/rides for each our driver.
Do we need to get "Uber for Business" to get aggregated information for each driver/rides from https://developer.uber.com/docs/businesses/data-automation/data-download, or we need to build application, where each our rider needs to authorize to grant access to its information with bearer token, and iterate over each token on endpoints https://developer.uber.com/docs/drivers/references/api/v1/partners-payments-get and https://developer.uber.com/docs/drivers/references/api/v1/partners-trips-get?
I think, that last method is the crooked nail for us.
I've recently seen this message:
This product is deprecated and will no longer be supported on May 31st, 2018. If you are starting a new project you should use deep links to m.uber.com. See the migration guide on how to link to the latest Uber rider experience.
Here's a screenshot of this message
Keeping in mind that this widget offers these functionalities(as does the REST API):
Selecting a service (e.g., uberX, UberBlack, etc.)
Specifying pickup and dropoff locations
Viewing time and price estimates
Requesting a ride
Will the Rest API be somehow affected by this change?
Will I be able to further make requests like these ones?
GET /v1.2/estimates/price
GET /v1.2/history
GET /v1.2/places/{place_id}
I'm not an Uber representative, and I really kind of feel that asking support from a vendor is the way to go for a vendor specific thing. However, when I read that message and screenshot they are clearly talking about a widget, not a REST api.
My business opportunity would benefit from being able to request an Uber to pick up a client and arrive at my place of business, and not just the client requesting the Uber themselves. Is this something that I can do today with Uber?
edit: the origin of my request would be different than the requested pick-up location.
The Uber API gives you the ability to Request an Uber Product on behalf of users within your application. Given you know where a user currently is, where they want to go, and which Uber product they want to use to get there, you have all of the tools to make that happen with a few simple API endpoints.
Looks like I answered my own question :)
I'm making a ride request via the Uber API. I successfully make a request and get a response that it's in the Processing state. I then open my Uber app to watch until it goes into the Accepted state, but it never gets there. After about 15 seconds of processing, it pops up with a weird error message that I've never seen before in the Uber app: "All vehicles are currently in use. Please call (206) 622-6500". I called the phone number just to see, and it's the number for Yellow Cab in Seattle.
I try to make a request using the Uber app as normal, and it works fine.
I'm not making my ride request using the API sandbox; I'm actually trying to request a ride for myself using the limited access request scope for my personal account.
There's not any code to associate with this since I'm making a request successfully. Uber API support has requested that I ask a question on StackOverflow instead of reaching out to them directly.