gdata-python-client

Download a spreadsheet from Google Docs using Python

懵懂的女人 提交于 2019-11-27 06:07:50
Can you produce a Python example of how to download a Google Docs spreadsheet given its key and worksheet ID ( gid )? I can't. I've scoured versions 1, 2 and 3 of the API. I'm having no luck, I can't figure out their compilcated ATOM-like feeds API, the gdata.docs.service.DocsService._DownloadFile private method says that I'm unauthorized, and I don't want to write an entire Google Login authentication system myself. I'm about to stab myself in the face due to frustration. I have a few spreadsheets and I want to access them like so: username = 'mygooglelogin@gmail.com' password = getpass

AccessTokenRefreshError: Google Spreadsheet API with oAuth 2.0 Service Account of App Engine App

六眼飞鱼酱① 提交于 2019-11-27 03:50:23
问题 I'm trying to access a Google Spreadsheet via the GData API using oAuth 2.0 service-account credentials created for a Python 2.7 app hosted on Google App Engine. The app uses the recent gdata-python-client from Google, v. 2.0.18 (gdata and atom). The app uses the recent google-api-python-client-gae, v. 1.2. In the Google Developer Console for this project (in this example referred to as "my-gae-app"), I have created a Service Account and delegated domain-wide authority to the service account

Download a spreadsheet from Google Docs using Python

蓝咒 提交于 2019-11-26 11:52:25
问题 Can you produce a Python example of how to download a Google Docs spreadsheet given its key and worksheet ID ( gid )? I can\'t. I\'ve scoured versions 1, 2 and 3 of the API. I\'m having no luck, I can\'t figure out their compilcated ATOM-like feeds API, the gdata.docs.service.DocsService._DownloadFile private method says that I\'m unauthorized, and I don\'t want to write an entire Google Login authentication system myself. I\'m about to stab myself in the face due to frustration. I have a few