使用 Foursquare api“Venue”服务..我正在解析附近的地点详细信息,例如商店、餐厅等。
假设我收到以下链接:
https://api.foursquare.com/v1/venues.json?geolat=40.562362&geolong=-111.938689
问题是我只获得 10 个附近的详细信息..假设我站在纽约,应该有许多 field 详细信息..为什么我只获得 10 个详细信息?
是否还有其他服务或者我使用错误的方法?
谢谢
最佳答案
添加l=n
,其中n是查询字符串中的限制。默认限制设置为 30。
https://api.foursquare.com/v1/venues.json?geolat=40.562362&geolong=-111.938689&l=10
关于iphone - Foursquare API closeByVenue 服务问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6248275/