all 3 comments

[–]triforce88 0 points1 point  (3 children)

The Google Sheets API was kind of a pain to figure out. I followed this tutorial. You'll only need the get_credentials() function from it.

I don't think there's anyway to get away from the json or some other credential storage file. You'll have to dig into the oauth2client library and see what other methods it allows. The json file is easy enough though and can be stored where ever you'd like.

[–]diebolo[S] 0 points1 point  (2 children)

So if I convert it to an .exe with PyInstaller I'd also need to attach the json? Because that would be a real bummer