Skip to content
Oauth2 google
Google setup:
- Go to https://code.google.com/apis/console – make sure you’re logged in as the correct user for the Drive you want to use.
- Use the drop-down at the top of the page to create a project called ‘Uploader’.
- Click on “Enable an API” then “Drive API” and then click the “Enable API” button
- Next go to “APIs & auth -> Credentials” menu and click “Create new Client ID”.
- Set Application type to “Installed application” and click “Configure Consent Screen”
- Set the Product Name to “Uploader”
- You’ll be returned back to the dialog. Make sure “Installed application” and “other” are selected and then click “Create Client ID”.
- Download the JSON file.
- Rename it to client_secrets.json and put it somewhere like /home/pi/.
This entry was posted in
IT. Bookmark the
permalink.