Foursquare Venues Search 中的格式化地址仅包含国家/地区名称

Formatted address in Foursquare Venues Search includes only country name

场地编号:51b06376498ea421e382bce2

那个场地指的是一个地名,英文:“G Village, Thailand”

https://api.foursquare.com/v2/venues/51b06376498ea421e382bce2?locale=th&v=20161208


以下是在 2 个不同区域设置下收到的回复:enth

formatted-address (th): "ประเทศไทย"

formatted-address (en): "Thailand"

通过查看 venue 的 Foursquare.com 页面,它显示名称是 "G Village",唯一可用的地址数据是 "Thailand"。

我相信这是在 formatted-address 中仅返回 "Thailand" 的预期行为。如果您希望从 API 中获取 "G Village" 字段,请查看 name 响应字段。

根据文档,location 对象将仅包含:

An object containing none, some, or all of address (street address), crossStreet, city, state, postalCode, country, lat, lng, and distance. All fields are strings, except for lat, lng, and distance. Distance is measured in meters.

如果您知道完整的地址,您应该建议将编辑返回给 Foursquare。