Skip to content

Instantly share code, notes, and snippets.

View anfeboyyaxcarlin's full-sized avatar

anfeboyyaxcarlin

View GitHub Profile
@anfeboyyaxcarlin
anfeboyyaxcarlin / download_files_from_googledrive.py
Created March 8, 2025 00:24 — forked from swyoon/download_files_from_googledrive.py
A script for downloading all files in a Google Drive folder.
"""
A Python script for downloading all files under a folder in Google Drive.
Downloaded files will be saved at the current working directory.
This script uses the official Google Drive API (https://developers.google.com/drive).
As the examples in the official doc are not very clear to me,
so I thought sharing this script would be helpful for someone.
To use this script, you should first follow the instruction
in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python):