Hi Ramesh,

There are 2 Google client libraries for Java

  1) the legacy gdata-java-client -
http://code.google.com/p/gdata-java-client/
  2) the newer, leaner, but less-helpful google-api-java-client -
http://code.google.com/p/google-api-java-client/

You will find some code samples using the gdata-java-client library with the
Documents List API in the protocol guide at
http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingDocs
 The
guide and its associated reference is essential reading for understanding
the Documents List API itself.

You will find some sample code at
http://code.google.com/p/google-api-java-client/wiki/GoogleAPIs#Google_Documents_List_Data_API
which
uses the newer google-api-java-client API.

The situation is much the same for the Spreadsheets API - the protocol
guides give examples using the abandoned gdata-java-client client library,
but you still need to read them so that you understand the protocol itself
in order to use the google-api-java-client library.


I can't speak to the maturity of the gdata-java-api client library with
respect to the Documents API.  However, when it comes to the Spreadsheets
API, I dis-recommend the gdata-java-api, and believe your project will get
on better if you use the google-api-java-client library.


regards,
David.


On Mon, Apr 25, 2011 at 11:32 AM, Ramesh V <[email protected]> wrote:

> Hi David,
>               Thanks for your reply, I have to do it through java, as i am
> using Google App Engine.
> Can you provide some code example links of how to import the sheets. I am
> not able find any code samples.
>
> Thanks,
> Ramesh.V
>

Reply via email to