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'))