0

Lyft API 访问是否包括访问历史数据(例如特定时间段)的方法?具体来说,我正在寻找 Origin-Destination 数据,以确定哪些位置对这些服务的需求最大。

4

1 回答 1

0

是的,您可以通过 Lyft GET /rides 端点获取起点和终点的经纬度

在线参考: https ://developer.lyft.com/v1/reference#users-ride-history

但是,您将需要使用 Foursquare、Yelp、Google 或 Factual 等第三方服务来确定目标地点是住宅还是商业场所。有关如何通过纬度和经度查询地点的示例,请参见下文:

谷歌地方 https://developers.google.com/places/web-service/search

Foursquare Places https://developer.foursquare.com/docs/api/venues/search

于 2018-12-12T21:51:19.157 回答