简体   繁体   中英

google docs list javascript

Hello I am new in google docs API, I want to get list of all documnets not spreadsheet using google doc API, I have got API but that gives document when you specify documentId, can anyone have idea is there way to get list of all documents created by user.

window.gapi.client.docs.documents.get({documentId:'123'})

aboe is sample code to get specific document I want list of all document. thanks in advance.

Those documents are stored in the user's Google Drive. You have to get their consent first. Create a GCP project and a consent screen for users to authorize your App to access their Google Drive through the Drive API .

Then you canlist the files in their Drive.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM