Used for uploading files from a directory and its sub-directories to Google Drive.
A etc/client_secret.json
file will need to be created. Follow these instructions:
- Use this wizard to create or select a project in the Google Developers Console and automatically turn on the API. Click Continue, then Go to credentials.
- On the Add credentials to your project page, click the Cancel button.
- At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button.
- Select the Credentials tab, click the Create credentials button and select OAuth client ID.
- Select the application type Other, enter your desired name, and click the Create button.
- Click OK to dismiss the resulting dialog.
- Click the (Download JSON) button to the right of the client ID.
- Move this file to your
etc/
directory and rename it toclient_secret.json
.
On first run, follow the instructions in the program to allow access to your Google Drive account.