npx [email protected] --ts --tailwind --app --src-dir --use-yarn --eslint
This file contains hidden or 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
import os | |
import pickle | |
from google.auth.transport.requests import Request | |
from google_auth_oauthlib import flow as google_auth_flow | |
# Set the path to your client_secret.json file | |
client_secret_file = "<PATH_TO_CREDENTIALS.JSON>" | |
# Check if token.pickle file exists. If not, create one. | |
if not os.path.exists('token.pickle'): |