Description Usage Arguments Details References Examples
Allows a ride to be estimated given the desired product, start, and end locations. If the end location is not provided, only the pickup ETA and details of surge pricing information are provided. If the pickup ETA is null, there are no cars available, but an estimate may still be given to the user.
1 2 | uber_requests_estimate(start_latitude = NULL, start_longitude = NULL,
end_latitude = NULL, end_longitude = NULL)
|
start_latitude |
Initial latitude. |
start_longitude |
Initial longitude. |
end_latitude |
Final latitude. |
end_longitude |
Final longitude. |
Requires an OAuth 2.0 token with the request scope.
https://developer.uber.com/docs/ride-requests/references/api/v1-requests-estimate-post
1 2 3 4 5 | ## Not run:
uber_requests_estimate(start_latitude = 37.761492, start_longitude = -122.423941,
end_latitude = 37.775393, end_longitude = -122.417546)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.