Hi,

I can get the attribute values using the below query . But it returns
maximum of 25 results for price (Exact Price).
Is there any way changing the query we can get the Maximum price in
all the search results and minimum .

http://www.google.com/base/feeds/attributes?q=digital+camera&bq=[item+type:products]&max-results=10&max-values=25
.

for the above query we get data for price as .

  <gm:value count="1976">9.98 usd</gm:value>
  <gm:value count="849">14.98 usd</gm:value>
  <gm:value count="823">7.98 usd</gm:value>
  <gm:value count="636">19.98 usd</gm:value>
  <gm:value count="556">24.98 usd</gm:value>
  <gm:value count="528">9.94 usd</gm:value>
  <gm:value count="496">29.95 usd</gm:value>
  <gm:value count="466">6.98 usd</gm:value>
  <gm:value count="465">4.98 usd</gm:value>
  <gm:value count="456">29.98 usd</gm:value>
  <gm:value count="409">8.98 usd</gm:value>
  <gm:value count="349">19.95 usd</gm:value>
  <gm:value count="332">11.98 usd</gm:value>
  <gm:value count="322">14.94 usd</gm:value>
  <gm:value count="264">39.99 usd</gm:value>
  <gm:value count="255">15.0 usd</gm:value>
  <gm:value count="247">12.98 usd</gm:value>
  <gm:value count="221">15.98 usd</gm:value>
  <gm:value count="204">12.44 usd</gm:value>
  <gm:value count="191">49.99 usd</gm:value>
  <gm:value count="175">5.98 usd</gm:value>
  <gm:value count="157">23.98 usd</gm:value>
  <gm:value count="154">10.98 usd</gm:value>
  <gm:value count="145">39.95 usd</gm:value>

Can we get maximum and minimum prices for my search criteria. May be
can we use crowding to get maximum and mimimum .. i tried using it,
but of no use.
check my query below

http://www.google.com/base/feeds/attributes?bq=digital+camera[price(float%20USD)]&crowdby=[x=price(float%20USD):if%20(max(x)%20%3C%20500.0)%20then(if%20(max(x)%20%3C%20200.0)%20then%20%22group1%22%20else%20%22group2%22)else%20%22group3%22]:1

Am i doing something wrong.

Any help is appreciated.

Thanks
Hari

--

You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.


Reply via email to