Answer the question
In order to leave comments, you need to log in
gspread not working.?
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https://spreadsheets.google.com/feeds',
'https://www.googleapis.com/auth/drive']
credentials = ServiceAccountCredentials.from_json_keyfile_name('12345.json', scope)
gc = gspread.authorize(credentials)
sh = gc.open("1E74NCfYUNfbsMcs_1GrRKunNdc4NH4OtgDVN4J8G4_Q")
print(sh.sheet1.get('A2'))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question