apipaginationoffsetfoursquare

Foursquare Venue API & Number of Results, in a more efficient way?


I'd like to ask if there is a more efficient way to get more than 50 results besides these options?

I'm using the current foursquare api for the venue search https://developer.foursquare.com/docs/venues/search .

What I'd like is something like an offset option, in order to get more results, but it seems that there isn't such an option.

Is there an alternative solution? Thank you in advance.


Solution

  • There is actually another option not mentioned here (not pagination though)

    Using the (experimental?) categoryId filter.

    You can search for a single point (ll) a few times with different category ids, giving you many results (some duplicates as venues can have more than one category).

    So you can search for 'Food' venues and 'Nightlife' venues at the same place, getting 100 results in stand of 50.. as said it is 100 results, but not unique results, could be duplicates. I think that is more efficient then trying to play around with the browse radius thing.

    Not pagination, but will give a lot more results than a normal search - usually enough even in urban areas.

    But yea, having some sort of way to extract more than 50 on a single point is not possible, but could be nice :)