Question

Almost everything is in the title, my question is : Is there any updated tutorial/example/clear doc to perfom Google Data API access through Google API Java Client under Google App Engine Environment ?

I tried to work with those links and a few others from Stackoverflow :

Official doc

Samples for Google Data API

Officiel google group and its issues

...

But I can't find any example that corresponds to the last version of the API in the case of App Engine (i.e. where HTTP communications are limited) and the access to Google Documents List API by Google Data API.

So for the moment I'm fumbling... What I know is just I must use URLFetch because of Google App Engine. Furthermore I followed the 2nd link and created my classes to translate JSON<->XML, but since AtomParser doesn't exist anymore, I've no idea of how to use AtomPatchContent to replace it...

Please did someone already met this situation ? Do you have an help ?

Cheers,

Ricola3D

Was it helpful?

Solution

See the following article (in addition to the one pointed by @alex in the comments): Retrieving Authenticated Google Data Feeds with Google App Engine (Java)

This will show you how to do authenticated call to the Document List API from App Engine.

Note that the library for the document list api (GData) is different from the one you linked in your questions (Google APIs/JSON).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top