【问题标题】:How to access Origin-Destination data using the Lyft API?如何使用 Lyft API 访问起点-终点数据?
【发布时间】:2018-12-11 21:02:34
【问题描述】:

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

【问题讨论】:

  • 你考虑过他们的文档吗?:developer.lyft.com/docs/overview
  • 是的,在查看这里之前已经仔细查看了它,但没有找到参考。谢谢。

标签: lyft-api


【解决方案1】:

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

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

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

Google 地方信息 https://developers.google.com/places/web-service/search

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

【讨论】:

    猜你喜欢
    • 2022-01-20
    • 1970-01-01
    • 1970-01-01
    • 2021-08-08
    • 1970-01-01
    • 1970-01-01
    • 2019-01-02
    • 1970-01-01
    • 2014-05-28
    相关资源
    最近更新 更多