【问题标题】:Is there a way to force Google Drive API to compress files and let me download an archive?有没有办法强制 Google Drive API 压缩文件并让我下载档案?
【发布时间】:2017-03-27 15:22:04
【问题描述】:

地球人!你好。正如我在文档中看到的,我只能使用一个 API 请求下载一个文件。为了下载 10 个文件 - 我必须提出 10 个让我难过的请求……Google Drive UI 允许我们在选择文件并单击“下载”后下载存档文件。 API 中是否有相同的功能可以让我一次下载所需数量的文件?我需要 Google Drive API 来压缩文件并让我下载档案。

【问题讨论】:

    标签: google-api google-drive-api google-api-client google-api-python-client


    【解决方案1】:

    不,没有。我相信(尚未测试)Google 会尊重 Accept-Encoding: gzip 的内容下载。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-28
      相关资源
      最近更新 更多