如何获取 Google Drive 公共托管文件夹的文件列表? [英] How do I get a file list for a Google Drive public hosted folder?

查看:10
本文介绍了如何获取 Google Drive 公共托管文件夹的文件列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法不使用授权获取公开托管的 Goolge Drive 文件夹的文件列表?

Is there a way to get a file listing without using authorization for a publicly hosted Goolge Drive folder?

示例文件夹:https://googledrive.com/host/0B1Nmfb7VDM6jNnhjWk9CdU9ueHc/

我想使用该文件夹来托管我将在其他网站的图库中显示的图像.

I want to use the folder to host images that I will display in a gallery on other sites.

推荐答案

没有办法在未经身份验证的情况下进行.但是,您可以作为任何用户进行身份验证并使用 drive.children.list()

There's no way to do it unauthenticated. However, you can authenticate as ANY user and get the list with drive.children.list()

这篇关于如何获取 Google Drive 公共托管文件夹的文件列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆