uber-sdk
uber-sdk copied to clipboard
Update to API v1.2 endpoints
Uber recently announced v1.2 endpoints for the Rides API. The following changes would be required to upgrade:
- API base URL would need to reflect the version bump:
https://api.uber.com/v1.2/
. Sample endpoint. - A new ride request flow for upfront prices should be implemented, as described here
- All usage of rate limiting headers should be removed. The headers are deprecated with v1.2. A new endpoint to meet the needs will be created. Here are the impacted headers:
X-Rate-Limit-Limit
,X-Rate-Limit-Remaining
,X-Rate-Limit-Reset
.
Thank you @agraebe