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
from oauth2client.client import OAuth2WebServerFlow | |
from oauth2client.tools import run_flow,argparser | |
from oauth2client.file import Storage | |
import argparse,os | |
CLIENT_ID = '806222273987-v6882atb04c4pfl8n3279iacv33e9tt7.apps.googleusercontent.com' | |
CLIENT_SECRET = 'xxxxx' | |
REDIRECT_URL='https://yourwebapp/oauth2c/OAuthProxy.jsp' | |
CREDS_FILE = os.path.join(os.path.dirname(__file__), 'credentials.json') |