I'm using the module gspread to (attempt) to parse a specific spreadsheet on my Google Drive. However, I eventually want to turn this project into a web application, so naturally I don't want to give away my login information. However, since I only need to read the spreadsheet, shouldn't there be a way to use gspread to read the contents of the file without having to log in? I've tried:
gc = gspread.Client(None)
sheet = gc.open_by_key(KEY)
But this fails with the error
(<class 'xml.etree.ElementTree.ParseError'>, ParseError(ExpatError('no element found: line 1, column 0',),), None)
How can I achieve this?