Uber API个人访问令牌无效,无法测试

时间:2019-06-18 07:26:39

标签: python uber-api

from uber_rides.session import Session
from uber_rides.client import UberRidesClient

session = Session(server_token='server_token')
client = UberRidesClient(session)
response = client.get_products(37.77, -122.41)
products = response.json.get('products')

跑步后 uber_rides.errors.ClientError:401:提供了无效的OAuth 2.0凭据。

0 个答案:

没有答案