]> git.cworth.org Git - turbot/blobdiff - gsheets-authenticate.py
Add notes on how to update the Google sheets credentials
[turbot] / gsheets-authenticate.py
index 2d0a60984ab528c58e571b7fa494e39fa8860c47..ca0d0fa10d7182a774e45331fa6a058fb85a4234 100755 (executable)
@@ -9,7 +9,10 @@ from google.auth.transport.requests import Request
 TOKEN_FILE = ".gsheets-pickle.base64"
 
 # If modifying these scopes, delete the token file
-SCOPES = ['https://www.googleapis.com/auth/spreadsheets']
+SCOPES = [
+    'https://www.googleapis.com/auth/spreadsheets',
+    'https://www.googleapis.com/auth/drive'
+]
 
 def main():
     """Allows user to authenticate for the Sheets API.