Skip to content

Latest commit

 

History

History
 
 

README.md

Google App Engine accessing BigQuery using OAuth2

This sample demonstrates authenticating to BigQuery in App Engine using OAuth2.

Running the sample

  1. To install dependencies for this sample, run:

     $ pip install -t lib -r requirements.txt
    
  2. You must then update main.py and replace <your-project-id> with your project's ID.

  3. You'll need a client id from your project - instructions here. Once you've downloaded the client's json secret, copy it to the root directory of this project, and rename it to client_secrets.json.

  4. You can then run the sample on your development server:

     $ dev_appserver.py .
    

    Or deploy the application:

     $ appcfg.py update .