-
Notifications
You must be signed in to change notification settings - Fork 1
Enabling Google API
Alex Hanson edited this page Dec 18, 2018
·
9 revisions
sudo apt-get update
sudo apt-get upgrade
pip install --upgrade google-api-python-client
pip install --upgrade oauth2client
mkdir gmail_endpoint
Write up on:
- how to generate client secret
- what is a client secret
- how to create a project (on google API website)
- how to activate APIs, gmail, etc.
From MobaXTerm or cmd prompt:
cd <Dropbox sub folder>\iot\tools
scp client_secret.json [email protected]:gmail_endpoint
scp client_secret.json [email protected]:gmail_endpoint
cd gmail_endpoint
python credentials.py --noauth_local_webserver
- Copy link outputted from putty into chrome.
- Sign in with hanson.iot account.
- Copy key from chrome and paste into putty
- Hit enter.