On Fri, Nov 27, 2009 at 2:46 PM, krishh <[email protected]>wrote:

> There are Two questions I am stuck at
>
> 1) How to group the similar products which are returned by google base
> api. As we get maximum of 25 results , is there a possiblity to look
> for other products and group them. for ex: i have Olympus SP-590 UZ
> Digital camera , which has got 3 sellers. Instead of showing it in 3
> lines can i show it in  a single line , I am sure this is a coding
> issue. but how can we access all the product listing (if not all may
> be first few hundred relevant results)
>
> What you want is crowding based on brand. See here for more information:
http://groups.google.com/group/google-base-data-api/pendmsg?hl=en


> 2) Is there a possibility to show the histogram, i mean the over view
> of the search from ggole base api, like what are the probable distinct
> brands, distnct price ranges and stuff from the google base api.
>
> For this use-case, you should use the /attributes feed. Some basic
information here:
http://code.google.com/apis/base/docs/2.0/reference.html#AttributesFeed
Then, check in the same page what are the supported attributes for this
feed.

In a nutshell, get the list of the most 10 encountered attributes for
"digital+camera" products
with price greater than 1000 USD. For each attribute, get 25 most
encountered values (this
is computed based on your query).

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

Note that ranges are not supported in /attributes feed.

Alex

> I am sorry if it is confusing, I have tried to explain what i want.
>
> Thanks for the help
> 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]<google-base-data-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-base-data-api?hl=en.
>
>
>


-- 
Alex Dovlecel, Google Switzerland GmbH
Company Identifikationsnummer: CH-020.4.028.116-1

--

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