Google Groups

Re: Multiple Qualifiers

Kin Lane - CityGrid Mar 19, 2012 3:54 PM
Posted in group: CityGrid Dev Talk
On Monday, March 19, 2012 3:51:09 PM UTC-7, Kin Lane - CityGrid wrote:
Hey Zachary,

The "What" parameter is best when applied a single keyword or key phrase.

I recommend using the tag parameter:

tagRestricts search to listings with the given tag idSeeNotesbelow.An integer 1722Tag ids are internal CityGrid identifiers and subject to change. This parameter should only be used in queries that are obtained as "refinement urls" from previous searches

You can find tag IDs via previous searches.  We do not have a META data API for this data, but plan on in the future.

Here are some examples:

<tag id="11238" primary="false">Bar Scene</tag>
<tag id="11201" primary="false">Sushi</tag>
<tag id="11202" primary="false">Japanese</tag>
<tag id="11234" primary="false">$$$$</tag>
<tag id="11204" primary="false">Brazilian</tag>
<tag id="11256" primary="false">Date Spot</tag>
<tag id="11269" primary="false">Group Dining</tag>
<tag id="11367" primary="false">Open 7 Days</tag>
<tag id="11298" primary="false">People Watching</tag>

You can apply a comma separated set of tag IDS to further be applied to your "where" search.


Kin Lane

On Monday, March 19, 2012 1:02:23 PM UTC-7, Zachary Thomas wrote:
Is there a way to submit multiple qualifiers to the API as a means to refine a result set i.e. Asian + Carry out or Barbecue + Banquet Hall ?