python-samples
python-samples copied to clipboard
π Python samples for Google Workspace APIs
## Expected Behavior ## Actual Behavior The redirect URI in the request, http://localhost:59771/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit:...
Python version 3.7.3. OS Linux # revisions of gsheet (possibly someone else's) Example python code how to (1) download all revisions metadata of a specific googlesheet id, and then (2)...
## Expected Behavior Program works ## Actual Behavior raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ## Steps to Reproduce the Problem...
## Expected Behavior As described in https://developers.google.com/gmail/api/quickstart/python ## Actual Behavior File "/hd2/projects/temp/python-samples/gmail/quickstart/quickstart.py", line 62, in main() File "/hd2/projects/temp/python-samples/gmail/quickstart/quickstart.py", line 41, in main flow = InstalledAppFlow.from_client_secrets_file( File "/home/stephen/.local/lib/python3.9/site-packages/google_auth_oauthlib/flow.py", line 180, in...
## Expected Behavior ## Actual Behavior  ## Steps to Reproduce the Problem 1. Run quick start example and got this error 2. reinstall everything and still got this error...
## Expected Behavior program works, prints list of files in google drive ## Actual Behavior Traceback (most recent call last): File "/Users/mattf/googledocs-python/./quick2.py", line 65, in main() File "/Users/mattf/googledocs-python/./quick2.py", line 43,...
for python 3.7+ when refreshing an expired, it is required to pass the httplib2 as a parameter for the Request on line 42 posted again, because the last one got...
when I run the test sample at: https://github.com/googleworkspace/python-samples/blob/master/drive/quickstart/quickstart.py I need to re-auth every time, after I retried and get an error of "field missing:refresh token". So what's the problem? Anyone...
## Expected Behavior **_Send email_** ## Actual Behavior Errors given by terminal: python email.py Traceback (most recent call last): File "/home//email.py", line 18, in from googleapiclient.discovery import build File "/home//.local/lib/python3.9/site-packages/googleapiclient/discovery.py",...
_**I'm running Quickstart for Google Sheets APIv4 in VSCode and got the following error:**_ **Instance of 'Resource' has no 'spreadsheets' member** _**and the following output:**_ ``` [Running] python -u "./GSpread.py"...