FourSquare venue search limit parameter capping out at 20? - foursquare

The foursquare venue search api documentation states that the limit parameter can go up to 50, but if I set it to 50, I only get 20 results. I know I'm using the api correctly because if I set the limit to 5, I get 5 results. Is there something special I need to do to get 50 results?
For reference, here is the url I am using:
https://api.foursquare.com/v2/venues/search?ll=' + latlong + '&client_id=myclientid&client_secret=myclientsecret&v=20120214&limit=50
Thanks

I found that was cutting out all the venues past 20 in another part of my code before I got around to seeing the results. So it was entirely user error. Woops!

Related

Search people with Google+ API

I have a several problem with Google+ API.
When I do a search, for example of my name: "Ismael" with the API
(you can do it with this URL): https://developers.google.com/+/api/latest/people/search
Google+ returns 50 results per page, and give a nextPageToken to see the next page. But when see 6 or 7 pages, always is the same token and I can't see more people.
In summary, I want to get for example 10000 or more results in a search, and I can just get less than 300. How can I achieve that?
Once there are no more results being returned and the nextPageToken matches the pageToken returned you can assume there are no more results. There just are not 10000 results for you to get.

Amazon Api Item Search

I am using Amazon Api to search for item. I am doing a simple
amazon.ItemSearch(Keywords="Sachin Tendulkar", SearchIndex="All", ResponseGroup="ItemAttributes")
But the result is not a popular Sachin Tendulkar book or the best search I would want.
How can I get multiple results in Item Search ?
How can I get the most popular search result?
amazon.ItemSearch(Keywords="UC Berkeley", SearchIndex="All", ResponseGroup="ItemAttributes")
gives even worse results.
Is there an option in the API that I am missing? Thanks
If you're not getting the results you expect, adjusting the SearchIndex option to something other than "All" can often help improve the results by making a less broad search.
If you change it to "Books", do you get the expected results for "Sachin Tendulkar"?
In case that doesn't fix the problem, do you get expected results for really common searches like "Apple TV"? And when you search for "Sachin Tendulkar" or others on Amazon.com do you the items returned by your API request show up at all (perhaps even pages down)?

Colleting a neighborhood in foursquare

im making a app in using the Foursquare API, using their API i can get some places in a neighborhood.
I'm using one like that:
https://api.foursquare.com/v2/venues/explore
?ll=40.7,-74
&limit=50
&venuePhotos=1
Using that API i can take 50 venues around my point, but how can I take more others venues like a second page of that?
You can use the "offset" parameter to query for subsequent pages of results. For example, to get the second page, you would supply "offset=50" to indicate skipping the first 50 results.

Feature request: Add search radius to the Suggestion Complete Venues api method

I'm integrating the suggestion complete venues search into my site. It's pulling back results from places that are way to far away from the city we want to search in. Can you add a search radius param to the api method?
A radius parameter is in fact available, though documentation for this parameter was missing. Thanks for pointing this out, documentation will be added.

Foursquare herenow always return 30 items. Is there any way to get more items?

I'm trying to get all users at same place as me (venues with a lot of people), but the endpoint https://api.foursquare.com/v2/venues/VENUE_ID/herenow returns more than 30 users in count property and only 30 people in items list.
Is there any way to get all check-ins and users at same place as me?
you can use the parameter limit to retrieve up to 500 users per request. use the parameter offset to page through more results. see here for more information.

Resources