Skip to content

Instantly share code, notes, and snippets.

@tanaikech
Last active December 30, 2021 06:27
Show Gist options
  • Save tanaikech/4fca197b8ec45c8ac6300b1531c2489d to your computer and use it in GitHub Desktop.
Save tanaikech/4fca197b8ec45c8ac6300b1531c2489d to your computer and use it in GitHub Desktop.
Retrieving file list with folder structure under a specific folder in Google Drive

Retrieving file list with folder structure under a specific folder in Google Drive

When I create applications for using Google Drive, I often retrieve a file list from a folder in the application. So far, I had created the script for retrieving a file list from a folder for each application. Recently, I thought that if there is the script for retrieving the file list with the folder tree from the folder of Google Drive as a library, it will be useful for me and other users. So I created them.

I created the libraries for several languages. You can use them for your development situation. I would like to also add other languages in the future.

Language Repository
Google Apps Script FilesApp
golang go-getfilelist
node.js google-drive-getfilelist
python getfilelistpy
Javascript GetFileList_js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment