4 messages in com.googlegroups.google-base-data-apiRe: Best way to retrieve data on mult...
FromSent OnAttachments
bchicos07 Feb 2008 04:16 
Jeff S08 Feb 2008 17:53 
bchicos09 Feb 2008 06:06 
Jeff S11 Feb 2008 14:20 
Subject:Re: Best way to retrieve data on multiple known entries?
From:Jeff S (j.@google.com)
Date:02/08/2008 05:53:16 PM
List:com.googlegroups.google-base-data-api

If you were using the item feed, I would recommend a batch request, which allows you to post feed XML in which each entry represents a CRUD operation (queries, inserts, updates, deletes). I imagine that your application would be using the snippets feed, which does not support batch requests. Is this correct?

Thank you,

Jeff

On Feb 7, 4:17 am, bchicos <bchi@gmail.com> wrote:

I have the 'ID' of multiple entries and I'd like to retrieve the Google product data on it. There could be like 10-100 entries that I want to retrieve product data for in one web page view.

I can use the following method to get data on ONE of these entries by passing it the snippet URL of the entry I want to get.

GoogleBaseEntry entry = service.getEntry(new URL(url));

The problem is this method is slow for a web application that needs all of the data within a couple seconds. I don't want to make 10-100 round-trips between my server and the Google servers in order to get this data. It would be nice if I could call one method which would retrieve a GoogleBaseFeed with multiple entries like what comes back in the search results..

I do not see a good way to do this however, is there an easy way to