Get a list of all the spreadsheets associated with your Google Account using the v4 branches API

Using the Google Sheets API v4, I am looking to get a list of spreadsheets attached to my account. I researched a lot, but did not find any solutions for this.

+4
source share
2 answers

API v4 does not offer a way to display spreadsheets. You will need to use the Drive API. The transfer from the previous page of the API contains some information on how to use the Drive API to do this.

+3
source

API Drives.

from apiclient import discovery

credentials = get_credential_service_account()
service = discovery.build('drive', 'v3', credentials=credentials)
service.drive().list()

" " .

Google : https://developers.google.com/drive/v3/reference/changes/list

0

All Articles