【问题标题】:FourSquare API is giving lots of result but not the result I expectFourSquare API 给出了很多结果,但不是我期望的结果
【发布时间】:2013-12-04 01:03:32
【问题描述】:

我正在使用 FourSquare api 搜索特定业务

https://api.foursquare.com/v2/users/search?name=Spa Gregories&oauth_token=ACCESS_TOKEN

它给出了很多结果,但不是我期望的结果。那是 格雷戈里温泉 2710 Via De La Valle, Ste B-270 加利福尼亚州圣地亚哥 92014 当我使用https://foursquare.com/search?q=Spa+Gregories&near=san+diago 时,我得到了确切的结果。他们根据位置找到业务的任何方式也是如此。我只有名称和城市位置可用于搜索。我还检查了场所选项,但它要求输入经度和纬度。 谢谢

【问题讨论】:

    标签: api foursquare


    【解决方案1】:

    您似乎正在点击用户搜索端点,而不是地点搜索

    看起来这是你想要的:

    https://developer.foursquare.com/docs/venues/search.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-09
      • 1970-01-01
      • 1970-01-01
      • 2019-06-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多