Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drive_download() entire GD folder as a ZIP? #378

Open
mbojan opened this issue Oct 17, 2021 · 2 comments
Open

drive_download() entire GD folder as a ZIP? #378

mbojan opened this issue Oct 17, 2021 · 2 comments

Comments

@mbojan
Copy link

mbojan commented Oct 17, 2021

Would it be feasible to extend drive_download() to fetch an entire GD folder as a ZIP? In the web interface I can right-click on a folder and "Download" will get me a ZIP of that folder.

I'm in for processing a (large) number of files stored in a GD folder. Instead of fetching individual files I could then fetch the ZIP and "disassemble" it locally. That would be more API-ecological.

@jennybc
Copy link
Member

jennybc commented Nov 1, 2021

AFAIK this is not supported by the Google Drive API and I have looked for this in the past.

So to get this either that needs to change (or someone needs to alert me that it is already possibly) or the logic has to be implemented in the googledrive package.

Related to #123.

@mbojan
Copy link
Author

mbojan commented Nov 6, 2021

Thanks @jennybc . Indeed, I don't see it in the API documentation. Meanwhile, I found https://stackoverflow.com/questions/56297366/download-folder-as-zip-google-drive-api, but I can't tell if this could be leveraged in any way by the package (irrespectively of the limitations mentioned there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants