drive.google.com
Download a Google Drive file
Input
fileId requiredDrive file id, or any full Drive/Docs URL containing it.
gid optionalTab gid, for csv/tsv exports of a Google Sheet. Defaults to the first tab.
format optionalExport format, for Google-native Docs/Sheets/Slides only. Defaults to pdf for documents and presentations, xlsx for spreadsheets. Ignored for files already stored as bytes.
Output
kind requiredHow the file was fetched: stored bytes, or a converted export.
fileId requiredfilename requiredThe saved file's real name.
url optionalSet instead of path on cloud browsers.
path optionalLocation on the machine running the browser. Null on cloud browsers, where url is set instead.
format optionalThe export format used, for Google-native files.
formatIgnored optionalTrue when a format was passed for a file stored as bytes, which downloads as-is.
