Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How i can get multiple files from google drive through the google drive api?

I would like to know how i could to obtain multiple files from google drive. I searched this in the reference but i not found this information. I'm building a web application that will talk to drive and retreive a link of a zip file to download. Zip of the files.

I'm using php with api v2.

like image 469
Felipe Avatar asked Aug 03 '12 03:08

Felipe


People also ask

How do I get files from Google Drive API?

If you provide the URL parameter alt=media , then the response includes the file contents in the response body. Downloading content with alt=media only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use files. export instead.

How do I get a list of files in Google Drive?

Goto the same Google Sheets File and refresh the page. Then you will get the "List Files/Folders" menu, click on it, and select the "List All Files and Folders" item.


1 Answers

That is currently not possible with the Drive API, you have to send multiple requests to retrieve multiple files.

like image 74
Claudio Cherubino Avatar answered Oct 29 '22 12:10

Claudio Cherubino