Updated: 2026-01-15
Update Note: Initial draft
We need to do some prep setup in order to
use the Google Drive API client
We need to set up a project (see quickstart) before we can use the client.
Note: This was done using personal Google account.
we first need to create a project
steps below are in the context of a project
once project is created, go to API and look for GoogleDrive, and enable the API
Note: it does not seem possible (as of 20260115) to just show what APIs have been enabled under a particular project. So we need to go to library and using foreknowledge, look for the API and then we can see the "API Enabled"
Set up OAuth for our project
Inital step is Branding - https://console.cloud.google.com/auth/branding
... or we can do it from the project screen via API >> OAuth Consent Screen
For audience, this is external and whitelist approach. This is OK for us since we are doing it for our own use
Note: we cannot have the word "google" in the app name
Now we set up client - the output of this step is a JSON file that we will use in our script
Click create client
Select Desktop app
Download the json file
Note: This is a one time download so if we lose this file, we need to reget a new client. See googledrive.py for an example.
Note: This is a Google Site. Feedback here.