Hi Aswath,

Both gdata-java-client and google-api-java-client explicitly support being
used in the Google App Engine environment, so you should be OK there.

Notice that the GAE Java API docs say that the default 'deadline' for a
UrlFetch is just 5 seconds.  The deadline for a task-queue request *can be*
up to 10 minutes, but you have to set it.
http://code.google.com/appengine/docs/java/urlfetch/overview.html#Requests

Voting for
http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2516may
one day enhance the stability and responsiveness of the spreadsheet
API,
but until such a time as it 'graduates' to a production service, it would be
unwise to rely on the spreadsheet API for any kind of production use.

The google-api-java-client is an API framework, and not an API to any
particular Google service.  Unless you're up for some coding where everyone
else before you also had to roll their own, I'd stick to the
gdata-java-client API so long as it keeps working for you.  That said, there
are certainly some nice things about the google-api-java-client.

cheers,
David.



On Thu, Jul 7, 2011 at 11:19 PM, Aswath Satrasala <
[email protected]> wrote:

> Any suggestions for this.    It is really annoying my customers.
>
> How are others using the api to spreadsheet?  Is GDATA the right and more
> matured api?
>
> Regards
> -Aswath
>
>
> On Sun, Jul 3, 2011 at 12:37 PM, Aswath Satrasala <
> [email protected]> wrote:
>
>> Hello Vic,
>> I tried, I still do get the timeouts.  Maybe not as frequent as I used to
>> get earlier.
>>
>> Please suggest.
>>
>> Regards
>> -Aswath
>>
>>
>> On Sun, Jul 3, 2011 at 2:39 AM, Vic Fryzel <[email protected]> wrote:
>>
>>> Recently, we had a few issues around this, but they've since been
>>> resolved.  Sorry for the slow reply.
>>>
>>> -Vic
>>>
>>>
>>>
>>> On Wed, Jun 8, 2011 at 4:28 AM, aswath <[email protected]>wrote:
>>>
>>>> I am writing data using Google Spreadsheet data api from GAE -
>>>> AppEngine.
>>>> I am frequently getting the following error.
>>>>
>>>> Timeout while fetching:
>>>>
>>>> I have Googled for the above message, and there are few issues created
>>>> on the error.  There seems to be no fix.  Please suggest.
>>>>
>>>> Note:  I am using Appengine TaskQueue to write the data.  Hence the
>>>> timeout is very large 10mins on the appengine.
>>>> Any special settings needs to be done to work with Appengine.
>>>>
>>>> -Aswath
>>>> www.AccountingGuru.in.
>>>>
>>>
>>>
>>
>

Reply via email to