uber-sdk | A Ruby SDK for the Uber API | REST library
kandi X-RAY | uber-sdk Summary
kandi X-RAY | uber-sdk Summary
A Ruby SDK for the Uber API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates Faraday
- Extracts the client s credentials .
- Validate a credential
- Request request headers
- Perform a POST request .
- Perform a PUT request .
- Make HTTP request
- HTTP header
- Create a new connection object
- Set the access token
uber-sdk Key Features
uber-sdk Examples and Code Snippets
Community Discussions
Trending Discussions on uber-sdk
QUESTION
I'm using the Uber-SDK for an iOS app. Over the last few days, I can get the cheapest product with ridesClient.fetchCheapestProduct()
. But today, that function always returns a nil
value.
Is this a problem with the server or SDK? Please help me with this issue.
(I'm in Vietnam and my client_id
still works fine for Android)
This is my code:
...ANSWER
Answered 2017-May-31 at 06:57Make sure you set a server token in your Info.plist. This allows the RidesClient()
to make a price estimate API call.
Copy this snippet into your Info.plist
(right click and select Open As > Source Code) and replace YOUR_SERVER_TOKEN
with the Server Token from your dashboard (make sure you use the server token corresponding to your client ID).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install uber-sdk
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page