答案 0 :(得分:1)
我不知道使用4sq网址的任何解决方案。但是当你知道网址方案时 - 你可以访问site-id。
zahpee =会场名称
通过该信息,您可以执行搜索:
GET https://api.foursquare.com/v2/venues/search?query=zahpee&intent=global
示例响应,提取:
response: {
venues: [
{
id: "4fc123f4e4b08acecb574b62"
name: "Zahpee"
contact: {
phone: "+553125164812"
formattedPhone: "+55 31 2516-4812"
twitter: "zahpee"
}
location: {
address: "Avenida Álvares Cabral, 1315"
crossStreet: "Santa Catarina"
lat: -19.931101175274925
lng: -43.94602344328842
cc: "BR"
city: "Belo Horizonte"
state: "MG"
country: "Brazil"
formattedAddress: [
"Avenida Álvares Cabral, 1315 (Santa Catarina)"
"Belo Horizonte, MG"
"Brazil"
]
}
使用API资源管理器轻松检查
https://developer.foursquare.com/docs/explore
我希望这会对你有所帮助。