Preparations sudo apt install python3-pip -y pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib Google Cloud setup go to Google Cloud --> Console Create Project Create Desktop App Set test user create OAuth2.0 Client ID