Project

General

Profile

Bug #1146

Gspread fails due to lack of oauth2 support

Added by Luke Murphey almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/16/2016
Due date:
% Done:

100%



Subtasks

Task #1159: Resolve dependencies for oauth2 clientClosedLuke Murphey

Task #1160: Update client to use oauth credentialsClosedLuke Murphey

Task #1161: Update modular input to use oauth credentialsClosedLuke Murphey

Task #1162: Add setup page to accept global credentialsClosedLuke Murphey

Bug #1163: Unit test test_import_by_lookup_name failsClosedLuke Murphey

Task #1165: Support dragging and dropping oauth2 credentials onto setup screenClosedLuke Murphey

Task #1169: Instructions on how to make a service account keyClosedLuke Murphey

History

#1 Updated by Luke Murphey almost 9 years ago

See instructions here: http://gspread.readthedocs.org/en/latest/oauth2.html

API: Web server
User Data

#2 Updated by Luke Murphey almost 9 years ago

install_requires = [
'httplib2>=0.9.1',
'pyasn1>=0.1.7',
'pyasn1-modules>=0.0.5',
'rsa>=3.1.4',
'six>=1.6.1',
]

#5 Updated by Luke Murphey almost 9 years ago

Collecting oauth2client
Downloading oauth2client-1.5.2.tar.gz (56kB)
100% |████████████████████████████████| 57kB 1.1MB/s
Collecting httplib2>=0.9.1 (from oauth2client)
Downloading httplib2-0.9.2.tar.gz (205kB)
100% |████████████████████████████████| 208kB 741kB/s
Collecting pyasn1>=0.1.7 (from oauth2client)
Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client)
Downloading pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from oauth2client)
Downloading rsa-3.3-py2.py3-none-any.whl (44kB)
100% |████████████████████████████████| 45kB 1.5MB/s
Collecting six>=1.6.1 (from oauth2client)
Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: httplib2, pyasn1, pyasn1-modules, rsa, six, oauth2client
Running setup.py install for httplib2
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/61/4v1t_czj3m13m1wbhtlytc000000gp/T/pip-build-Ypi8AW/httplib2/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/61/4v1t_czj3m13m1wbhtlytc000000gp/T/pip-fPiNhE-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/httplib2
copying python2/httplib2/__init__.py -> build/lib/httplib2
copying python2/httplib2/iri2uri.py -> build/lib/httplib2
copying python2/httplib2/socks.py -> build/lib/httplib2
copying python2/httplib2/cacerts.txt -> build/lib/httplib2
running install_lib
creating /Library/Python/2.7/site-packages/httplib2

#6 Updated by Luke Murphey almost 9 years ago

Instructions:
  1. Make a "Service Account Key" per http://gspread.readthedocs.org/en/latest/oauth2.html
  2. Share the Spreadsheet with the email in the in your json_key['client_email']. Otherwise you’ll get a SpreadsheetNotFound exception.

#7 Updated by Luke Murphey almost 9 years ago

  • Priority changed from Normal to Urgent

#8 Updated by Luke Murphey almost 9 years ago

  • Description updated (diff)

#10 Updated by Luke Murphey almost 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF