gdata-python-client

SyntaxError using gdata-python-client to access Google Book Search Data API

>>> import gdata.books.service >>> service = gdata.books.service.BookService() >>> results = service.search_by_keyword(isbn='0434003484') Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> results = service.search_by_keyword(isbn='0434003484') ... snip ... File "C:\Python26\lib\site-packages\atom\__init__.py", l...

OAuth authentication fails for google data APIs for hosted domains using gdata

Hello world! I'm creating a django app that creates a calendar and a google docs folder for the users, and uses the API to insert events and add documents. A few months ago, it worked nice enough; now I'm doing a major refactoring of my code and, while testing the aforementioned components, I discovered that they don't work anymore! Whe...

Python: what's the gdata method for uploading an image with enabled OCR?

as demonstrated on this PHP code, (http://code.google.com/p/gdata-samples/source/browse/trunk/doclist/OCRDemo/ocr.php?r=194 ) where an image can be uploaded to google docs that is automatically converted to text. i'm wondering how to do this in python. there is an "upload" method, but i'm just puzzled how to enable the OCR function. ...

How to upload pdf and pptx files to google docs via the gdata python client?

Hi there, world I'm using the gdata python client for the google docs api for a project. I use oauth authentication and all the dance, and have successfully uploaded .doc, .xls and every file type in Their FAQ. but I cannot seem to upload pdf files, even though is right there, listed on the supported filetypes. I tried with the latest ...

blogger (python) API - How to query none draft blog entry

I would like to retrieve through the python blogger API the list of published (not draft) blog entry from my blog. What parameter do I need to add to specify draft=false. query = gdata.blogger.client.Query() query.max_results = 3 feed = bc.GetPosts(blog_id=blog_id, query=query) ...

Google App Engine gData event location

I want to extract location from event. Or field Where in google calendar when you add location. def PrintUserCalendars(calendar_service): all_calendars_feed = calendar_service.GetAllCalendarsFeed() for i, cal in enumerate(all_calendars_feed.entry): print "%d) %s" % (i, cal.title.text) print "\tPublished: %s \n\t...

Python YouTube Gdata Api: DeletePlaylist

I have correctly initialized YouTubeService. I can move/delete/rename playlist entries, but when I try to delete playlist I get unhelpfull exception: _service = None def get_service(): global _service if _service is None: _service = YouTubeService() gdata.alt.appengine.run_on_appengine(_service) _servic...

how can I upload a kml file with a script to google maps?

I have a python script, that generates kml files. Now I want to upload this kml file within the script (not per hand) to the "my maps" section of google maps. Does anybody have a python or other script/code to do so? ...

Using gdata-api, when I export a presentation using the "png" exportformat, I get back just the first slide's image.

Hi, Have any of you encountered this? I am using gdata-api (GData-Version: 3.0, python library v2.012) to download a google docs presentation as a bunch of images (one image per slide). However, when I download a presentation using "exportformat=png", I only get an image of the first slide ! Is there any workaround to get all the pages ...

Python: search playlists on youtube

Is there any way to search playlists on youtube using gdata-python-client? As for documentation it is impossible, but may be there are some workarounds... ...