Prerequisites
-
To use a service account for access to Google Sheets, provide the absolute path to the service account file either using the
service_account_path argin the GoogleSheetsTools constructor or specify theGOOGLE_SERVICE_ACCOUNT_FILEenvironment variable. - Add the complete auth URL as an authorised redirect URIs for the Client ID in the Google Cloud Console. For example, to use Localhost and port 8080, specify: http://localhost:8080/flowName=GeneralOAuthFlow and pass the oauth_port to Google Sheets Toolkit.