Reputation: 51
In Foursquare API Explorer window, We have used the endpoints 'venues/search?ll=39.8647,-86.2604&intent=browse&radius=20000&limit=200' to get the venues more than 100 but it should return only 50 venues.
Can anyone kindly give the solution that which endpoints be able to get more than 200 venues using foursquare API?
Thanks, Bargavi
Upvotes: 0
Views: 590
Reputation: 696
You should try the "venues/explore" endpoint. It has an offset parameter to page through results.
Although, it might not return the results you expect since it browses recommended venues for the current user. But you can sort the venues by distance afterward with a few lines of code.
Upvotes: 1