I want to reporting something to google spreadsheet, my code for example:
import json
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https://spreadsheets.google.com/feeds']
credentials = ServiceAccountCredentials.from_json_keyfile_name('con.json', scope)
gc = gspread.authorize(credentials)
wks = gc.open("temperatura")
ws = wks.get_worksheet(0)
ws.update_acell('A1','IT WORKS!')
I get error:
gc = gspread.authorize(credentials) AttributeError: 'module' object has no attribute 'authorize'
Thanks for feedback
regards malin