Access Google spreadsheets with OAuth 2.0

605 Views Asked by At

I'm trying to access Google spreadsheets using gdata-python-2.0.17 library. In every tutorial, programmaticLogin(uname,pwd) is used but I feel it is not a good practice. I'm trying to overcome this by using OAuth 2.0 authentication(oauth2client.client). I've managed up to granting access to a Google account by getting user consent.

I'm not sure whether the standard gdata.spreadsheet.service.SpreadsheetsService() can be used in this scenario. According to this, it is not possible/easy to combine OAuth 2.0 and gdata-python library. It's highly appreciated if someone know how to handle this with the said APIs or using later versions of Google API which can be used.

Thanks

0

There are 0 best solutions below