【问题标题】:Google Places API not displaying website (URL)Google Places API 不显示网站 (URL)
【发布时间】:2014-05-13 21:05:26
【问题描述】:

我正在 Google Places API 中查找公司名称、地址、电话号码和公司 URL。我的测试 url 字符串是 https://maps.googleapis.com/maps/api/place/textsearch/xml?query=restaurants+in+Grand+Rapids+Michigan&url=true&sensor=true&key=MYKEY 我没有收到电话号码或企业网站 (URL)。然而,被退回的企业在谷歌列表中有该信息。我是新手,只是想了解如何进行搜索查询。

感谢任何帮助!

【问题讨论】:

    标签: google-places-api


    【解决方案1】:

    我相信电话号码和网站 URL 仅在 Place Details 请求中可用。您将从textsearch 的结果中获取reference 并将其发送到details 请求中。

    【讨论】:

      猜你喜欢
      • 2017-01-10
      • 1970-01-01
      • 1970-01-01
      • 2015-06-26
      • 1970-01-01
      • 1970-01-01
      • 2017-01-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多