From your Google Account:
- Start up a Google Cloud Project
- Go to APIs and Services
- Engage Google Drive API
- Create Credentials -> Service Account
- Generate a key json file and download it
- Copy the json file to the server
- Open Google Drive permission to the Service Account
From the Server:
- Change the service key file location to the location of the json file on server
- Execute quickstart.py