Message from Python discussions

November 2018

— Repeat that with sense added?

— 

Please I need help with google sheets. I can read the content of a google sheet using requests:

-url = "https://sheets.googleapis.com/v4/spreadsheets/****************/values/Hoja1!A1:B1?key=*********************"
-r = requests.get(url)

But I can not edit it with this method although I pass the credentianls:

-url = "https://sheets.googleapis.com/v4/spreadsheets/**********/values/Sheet1!A1:D5?valueInputOption=USER_ENTERED?key=************?client_id=********?client_secret=*************
-r = requests.get(url)

I get this authentification error:

{u'error': {u'status': u'UNAUTHENTICATED', u'message': u'Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

Any help is appreciatted, thanks. If you want send me a private message.

— Just reinstall the OS

— 😂😂😂

— !meta

— And offtopic

— I love c+++

— Guys

— Could you read the group title

— Well there is but not sure is C++ lol

— No i want to talk here

— This is a Python group, you can talk about anything related to Python, to talk about any other languages/technologies, go to PythonOfftopic group

Message permanent page