【问题标题】:Getting Dialing country code from google places api从 google places api 获取拨号国家代码
【发布时间】:2017-04-17 06:03:43
【问题描述】:

我在我的项目中使用 google places api。我想知道是否有任何可能的方法来获取拨号代码,例如(+91),用于从 google 地方 api 获取给定的地点 ID。

参考文献

https://developers.google.com/places/web-service/intro

【问题讨论】:

    标签: google-places-api


    【解决方案1】:

    您可以从结果对象中的international_phone_number 属性解析它。 https://developers.google.com/places/web-service/details

    【讨论】:

    • 这个 international_phone_number 属性将存在于每个地方意味着它是否适用于每个地方
    猜你喜欢
    • 2016-02-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多