oauth2client と gspread を使用して googlesheet を操作しようとしていましたが、oauth2client を使用する場合にスコープのフィールドが必要になるという問題があります。適用範囲がわかりません。以下は、oauth2client を使用するコードです。
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https://spreadsheets.google.com/feeds']
credentials = ServiceAccountCredentials.from_json_keyfile_name('gspread-april-2cd … ba4.json', scope)
gc = gspread.authorize(credentials)
wks = gc.open("Where is the money Lebowski?").sheet1