Questions tagged [gdata-python-client]
36 questions
2
votes
1 answer
Download a Google Sites page Content Feed using gdata-python-client
My final goal is import some data from Google Site pages.
I'm trying to use gdata-python-client (v2.0.17) to download a specific Content Feed:
self.client = gdata.sites.client.SitesClient(source=SOURCE_APP_NAME)
self.client.client_login(USERNAME,…

galex
- 593
- 7
- 10
2
votes
0 answers
gdata.docs.client.DocsClient
I have the following code, reads oauth2 token form file, then try's to perform a doc's list query to find a specific spreadsheet that I want to copy, however no matter what I try the code either errors out or returns with an object containing no…

Richard
- 179
- 1
- 6
1
vote
1 answer
Python GData lib causes too much redirects
I'm using python GData to work with Google Calendar. I'm making really simple requests (e.g. create event), using OAuth authorization.
Usually this works OK, but sometimes I'm receiving lots of 302 redirects, that leads to "Maximum redirects count…

cleg
- 4,862
- 5
- 35
- 52
1
vote
1 answer
AttributeError: 'DocsClient' object has no attribute 'GetDocumentListFeed'
I'm currently trying to build a Script that interacts with Google's API's, but I keep getting an Attribute error:
Traceback (most recent call last):
File "service_catalog_automation.py", line 18, in
feed =…

Steven.SolidFire
- 11
- 1
1
vote
1 answer
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…

user383253
- 13
- 3
1
vote
1 answer
how to use Email Audit API with gdata python client library?
When I use gdata-python-client library https://github.com/google/gdata-python-client/blob/master/samples/apps/email_audit_email_monitoring.py, I met an error at the beginning.
import re
import sys
import gdata
from gdata.apps.audit.service import…

Arthur
- 11
- 1
1
vote
0 answers
SyntaxError using gdata-python to get worksheets feed
I'm getting an occasional error when trying to fetch a list of worksheets from gdata. This does not happen for all spreadsheets, but will consistently happen to the same spreadsheet for a period of several days to weeks. I suspected permissions,…

csmith
- 58
- 1
- 3
- 9
1
vote
0 answers
If-Match or If-None-Match header or entry etag attribute required error while updating batch contacts
What steps will reproduce the problem?
1.update contact using batch contact api(gdata-python-client) as like below
request_feed = gdata.contacts.data.ContactsFeed()
contact_entry =…

Venkatesh Bachu
- 2,348
- 1
- 18
- 28
1
vote
1 answer
What is the different between gdata.client and gdata.service inside gdata-python-client?
When i was reading both, they seems targeting the same thing and written by the same author.
So what is the different between those two?
Thanks

Ton
- 199
- 8
1
vote
0 answers
provisioning_oauth_example in gdata-python: 2-legged and 3-legged errors
I am tying to run provisionin_oauth_example from gdata-python-client library examples.
After some minor changes mainly to make it work in AppEngine, that's what happens in both local and AppEngine server:
If I use OAuth domain key:
With 2-legged…

methadata
- 936
- 6
- 9
1
vote
1 answer
watch History feed gdata python
I'm trying to get history feed from YouTube of an authenticated user with python.
This is my code :
yt_service = gdata.youtube.service.YouTubeService()
def LogIn():
login_name = raw_input('Email:')
login_pass = getpass.getpass()
try:
…

Dubniak
- 13
- 4
0
votes
1 answer
Unable to install gdata python library client
trying to install gdata python library client,receiving following errors:
running install
running build
running build_py
running install_lib
byte-compiling C:\Python32\Lib\site-packages\gdata\apps\adminsettings\service.py to …

Star123
- 669
- 2
- 8
- 19
0
votes
0 answers
Python flask web app- ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
aceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File…
0
votes
1 answer
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...

Vladimir Mihailenco
- 3,382
- 2
- 24
- 38
0
votes
1 answer
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…

Vladimir Mihailenco
- 3,382
- 2
- 24
- 38