python - 如何通过文件 ID 查询 google drive API?

标签 python google-api

我没有看到通过文件 ID 查询 google drive API 的方法。有办法吗?

https://developers.google.com/drive/api/v3/reference/query-ref

最佳答案

您可以使用以下 API 通过 fileId 查询文件 -

获取 https://www.googleapis.com/drive/v3/files/fileId

https://developers.google.com/drive/api/v3/reference/files/get

关于python - 如何通过文件 ID 查询 google drive API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50664048/

相关文章:

python - 在多索引 Groupby 对象中填充 Nan 值

python - 转换字节->字符串->返回字节,并获取原始值

python - 帮助使用 Python 2.6 中的 cPickle

python - 如何根据数据框中的单词检测分配点数/分数?

python - Pandas str.contains 超过一个列表?

youtube - 通过访问 token 访问YouTube channel 标题需要什么范围?

java - 如何授予 Google Drive REST API 的完全权限?

javascript - 为什么 Google 的 API 响应对象的属性键是随机的两个字符的字符串?

android - 发布已签名的 Android 应用程序,Google Plus 登录和 Google map 无法正常工作

javascript - 使用适用于 JavaScript 的 Google API 客户端库访问 Google Sites API