This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Gist from the post https://medium.com/@victor.perez.berruezo/execute-google-apps-script-functions-or-sheets-macros-programmatically-using-python-apps-script-ec8343e29fcd | |
Code partially from Google Apps Script Quickstart https://developers.google.com/apps-script/api/quickstart/python | |
''' | |
import pickle | |
import os.path | |
from googleapiclient import errors | |
from googleapiclient.discovery import build | |
from google_auth_oauthlib.flow import InstalledAppFlow |