Venue Categories - Filtering Search Results by CategoryId

352 views
Skip to first unread message

Foursquare API User

unread,
Dec 16, 2010, 6:53:47 AM12/16/10
to foursquare API
I've read the API and noticed that you do not provide IDs for the top-
level categories (Arts & Entertainment, Food, etc.) ...

Unless this is caused by technical difficulties, I would see this as
something that could be considered essential... providing these Ids in
the Category Search endpoint (https://api.foursquare.com/v2/venues/
categories), in conjunction with the Venue Search endpoint (https://
api.foursquare.com/v2/venues/search), would seem to be a good idea,
when wanting to perform a Search of Venues by Category...

Ideally, even if you didn't provided top-level category ids, it would
be a good idea to pass in an array of CategoryIds to the Venue Search
endpoint, along with the 6 other public ones you provide now (ll,
llAcc, alt, altAcc, query, limit). This would allow us to return more
relevant search results, when searching for venues, and ultimately
less requests to your system, as the data we get would be better
shaped.

Currently, to build a list of 100 "food-type" venues relative to a
given set of coordinates, a user would have to (a) perform a search,
parse through the JSON results (which gives us < 100 results), and
then make further requests to get the 100 desired results... or (b)
increase the search limit to a much larger number, to hopefully
guarantee the 100 results that would match the desired CategoryId.

By providing this parameter in the endpoint, a user can ask for 100
"food-type" results and get them, ignoring venues that weren't
desired. One would think this is less taxing on both the client and
your servers (I'm sure you get the idea)...

Looking forward to your response, and you guys have done a great job!

FaceySpacey.com

unread,
Dec 17, 2010, 3:20:14 AM12/17/10
to foursquare API
I've requested this before about 2 months ago. They know about the
request. We'll either get it or we won't. But I agree it's good for
all parties to have this feature.

muni

unread,
Dec 21, 2010, 12:55:46 AM12/21/10
to foursquare API
Yeah, that really makes sense. And also its good to have a radius
parameter in the API request (Gowalla does). It essentially allow a
user to search for a specific category / with in the certain radius.

And also in the Version2, the API response is supposed to return 500
result set. But looks like it is broken. I have tried with different
API calls, the result is always less than or equal to 50 :(.

Would love to hear from FourSquare.

.. Muni

muni

unread,
Dec 23, 2010, 8:44:56 AM12/23/10
to foursquare API
Any suggestions/ feedback is much appreciated.

Muni.

Greg Obleshchuk

unread,
Jan 10, 2011, 9:02:06 PM1/10/11
to foursquare API
I agree this would be a great feature.

Greg

On Dec 16 2010, 10:53 pm, Foursquare API User <c...@fourspy.com>
wrote:
> I've read the API and noticed that you do not provide IDs for the top-
> level categories (Arts & Entertainment, Food, etc.) ...
>
> Unless this is caused by technical difficulties, I would see this as
> something that could be considered essential... providing these Ids in
> the Category Search endpoint (https://api.foursquare.com/v2/venues/
> categories), in conjunction with theVenueSearch endpoint (https://

Benoit

unread,
Jan 14, 2011, 7:33:05 PM1/14/11
to foursquare API
It would be a nice improvement on the search venues

Jerry

unread,
Feb 3, 2011, 12:15:37 AM2/3/11
to foursquare API
Still no answer? This feature is needed urgently!

On Jan 14, 6:33 pm, Benoit <dzen...@gmail.com> wrote:
> It would be a nice improvement on the search venues
>
> On Jan 11, 3:02 am, Greg Obleshchuk <g...@geckoware.com.au> wrote:
>
> > I agree this would be a great feature.
>
> > Greg
>
> > On Dec 16 2010, 10:53 pm, Foursquare API User <c...@fourspy.com>
> > wrote:
>
> > > I've read the API and noticed that you do not provide IDs for the top-
> > > level categories (Arts & Entertainment, Food, etc.) ...
>
> > > Unless this is caused by technical difficulties, I would see this as
> > > something that could be considered essential... providing these Ids in
> > > theCategorySearch endpoint (https://api.foursquare.com/v2/venues/
> > > categories), in conjunction with theVenueSearch endpoint (https://
> > > api.foursquare.com/v2/venues/search), would seem to be a good idea,
> > > when wanting to perform a Search of Venues byCategory...
>
> > > Ideally, even if you didn't provided top-levelcategoryids, it would

Jeremy

unread,
Mar 6, 2011, 4:34:56 PM3/6/11
to foursquare API
I could really use this as well -- any updates?


On Feb 3, 12:15 am, Jerry <zamu...@gmail.com> wrote:
> Still no answer? This feature is needed urgently!
>
> On Jan 14, 6:33 pm, Benoit <dzen...@gmail.com> wrote:
>
>
>
>
>
>
>
> > It would be a nice improvement on the search venues
>
> > On Jan 11, 3:02 am, Greg Obleshchuk <g...@geckoware.com.au> wrote:
>
> > > I agree this would be a great feature.
>
> > > Greg
>
> > > On Dec 16 2010, 10:53 pm, Foursquare API User <c...@fourspy.com>
> > > wrote:
>
> > > > I've read the API and noticed that you do not provide IDs for the top-
> > > > levelcategories(Arts & Entertainment, Food, etc.) ...

Evanoel Sampaio Tavares

unread,
Mar 6, 2011, 7:45:09 PM3/6/11
to foursqu...@googlegroups.com, Jerry
I agree this would be a great feature. 


Reply all
Reply to author
Forward
0 new messages