Reputation: 199
I want to create a list of all restaurants within a given lat-long boundary. I'm using foursquare venues/search API for the same, with sw & ne parameters.
If I'm expecting, say, 200 results. I know each limit caps at 50 results and I'm OKAY to perform 4 requests with +50 offset. But I get the same set of results when [limit=50, offset=50] and [limit=50, offset=100]
Here are the params in the sample GET request:
Upvotes: 0
Views: 409
Reputation: 11
According to Foursquare's documentation for venues/search, there is no offset parameter. You probably want to use the venues/explore endpoint along with the §ion=food
parameter (instead of the categoryId
parameter).
Upvotes: 1