Questions tagged [gdata-python-client]
36 questions
18
votes
6 answers
How to convert Google spreadsheet's worksheet string id to integer index (GID)?
To export google spreadsheet's single worksheet to CSV, integer worksheet index(GID) is required to be passed.
https://spreadsheets.google.com/feeds/download/spreadsheets/Export?key=%s&gid=%d&exportFormat=csv
But, where are those informations?…

Ray Yun
- 1,571
- 3
- 16
- 22
8
votes
2 answers
Batch posting on blogger using gdata python client
I'm trying to copy all my Livejournal posts to my new blog on blogger.com. I do so by using slightly modified example that ships with the gdata python client. I have a json file with all of my posts imported from Livejournal. Issue is that…

Kaster
- 357
- 4
- 16
4
votes
1 answer
OAuth authentication fails for google data APIs for hosted domains using gdata
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…

lfborjas
- 296
- 3
- 15
4
votes
0 answers
Access Google spreadsheets with OAuth 2.0
I'm trying to access Google spreadsheets using gdata-python-2.0.17 library. In every tutorial, programmaticLogin(uname,pwd) is used but I feel it is not a good practice. I'm trying to overcome this by using OAuth 2.0…

Tharindu Rusira
- 691
- 9
- 17
4
votes
2 answers
I have got the "Authorization code" for my app. But how can I use it to post in the blogger using gdata-python-client?
I am using gdata-pyton-client.
I have got the "Authorization code" for my app. But now what? How can I use it to post in the blogger?
I used the following code and get eh Authorization code,
CLIENT_ID = 'my-client-id'
CLIENT_SECRET =…

Chetan Sharma
- 2,539
- 5
- 25
- 41
3
votes
1 answer
Google Python gdata Library Installation Failing
[Note, I have removed some information, such as my username, and the
IDs to my spreadsheets]
Hi! I'm on a mac, and I'm trying my best to install gdata for google python.
Before I go on, I'm using this tutorial here:…

Georges Oates Larsen
- 6,812
- 12
- 51
- 67
2
votes
2 answers
How to read rows after empty row in the Google spreadsheet?
I'm using gdata-python-client to read data from a Google spreadsheet. My code for reading rows is as follows:
import gdata.speadsheet.text_db
gd_client = gdata.spreadsheet.text_db.DatabaseClient(
…

Nyambaa
- 38,988
- 9
- 29
- 35
2
votes
1 answer
Valid fields while Inserting a contact using google shared contact api using python
trying to add a contact
below is sample code from api
where can i get all the valid fields like organization etc and some sample python code for that?
new_contact = gdata.contacts.ContactEntry(title=atom.Title(text=name))
new_contact.content =…

coder
- 21
- 1
2
votes
1 answer
Retrieving all (Other) Contacts from Google Contacts API using gdata-python-client and OAuth2 token?
In the hunt to list all (to include Other) Contacts for a Gmail/GSuite user. The current People API does not support this functionality, noting the following threads:
Found this thread here, confirming such change in the API: Google Contacts API vs…

Andrew Stroup
- 320
- 2
- 14
2
votes
1 answer
AuthSub problems
I've been combing through google's authentication documentation, and am having trouble with Auth Sub.
The following code is main.py of the beginning of a Google AppEngine app.
#!/usr/bin/env python
from google.appengine.ext import webapp
from…

lowerkey
- 8,105
- 17
- 68
- 102
2
votes
1 answer
Is the official client for the YouTube API thread-safe?
I'm using the official Python client for the YouTube API (called gdata.youtube.service.) My question: Is it thread-safe?
For example, I want to do both GetUserFavoritesFeed and GetYouTubeUserFeed at the same time in two parallel threads. Possible?

Ram Rachum
- 84,019
- 84
- 236
- 374
2
votes
1 answer
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?

Jörg Beyer
- 3,631
- 21
- 35
2
votes
3 answers
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 "", line 1, in
results =…

Ismail Badawi
- 36,054
- 7
- 85
- 97
2
votes
1 answer
Which is the correct api to interact with google spreadsheets in python?
I've found two different APIs to interact with google spreadsheets, but don't know which is the one I should use.
I found these two:
1. google-api-python-client: http://github.com/google/google-api-python-client
2. gdata-python-client:…

huapito
- 395
- 2
- 10
2
votes
1 answer
How do I use two-legged oauth with the python gdata library?
I am trying to access a list of users through an app. I cannot get two-legged auth to work. I want to be able to access google's APIs without requiring user consent after install. The gdata lib was deprecated earlier this year, but a business…

jon
- 61
- 3