Foursquare API nearByVenue 服务问题 [英] Foursquare API nearByVenue service issue
本文介绍了Foursquare API nearByVenue 服务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用 Foursquare api "Venue" 服务..我正在解析 nearByVenue 详细信息,例如商店、餐厅等.
Using Foursquare api "Venue" service.. i am parsing nearByVenue details like shop, restaurant etc.
假设我收到以下链接:
https://api.foursquare.com/v1/venues.json?geolat=40.562362&geolong=-111.938689
问题是我只得到了 10 个附近的详细信息.. 假设我站在纽约,应该有很多场地详细信息.. 为什么我只得到 10 个详细信息?
Issue is I am getting only 10 nearbyDetails.. suppose I am standing in New York there should be number of venue details.. why I am getting only 10 details only ?
是否有其他服务或我使用错误的方法?
Is there any other service or i am following wrong approach to use it?
谢谢
推荐答案
添加 l=n
其中 n 是您在查询字符串中的限制.默认限制设置为 30.
Add l=n
where n is your limit in query string. The default limit is set to 30.
https://api.foursquare.com/v1/venues.json?geolat=40.562362&geolong=-111.938689&l=10
这篇关于Foursquare API nearByVenue 服务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文