2014-07-08 185 views
0

在Foursquare API Explorer窗口中,我們使用了端點的場地/搜索?ll = 39.8647,-86.2604 & intent = browse & radius = 20000 & limit = 200'獲得的場地超過100個,但它應該只返回50場地。Foursquare - 如何使用foursquare API獲取超過100個場地?

Can anyone kindly give the solution that which endpoints be able to get more than 200 venues using foursquare API? 

感謝, Bargavi

回答

1

你應該嘗試"venues/explore"端點。它有一個偏移參數來翻頁結果。

雖然它可能不會返回您期望的結果,因爲它會瀏覽當前用戶的推薦場所。但是你可以用幾行代碼按距離排序場地。

相關問題