[英]How to retrieve a list of public Google Docs from one user
Is there a way to retrieve a JSON or XML resource from Google Docs using an HTTP GET? 有没有一种方法可以使用HTTP GET从Google文档中检索JSON或XML资源? I want to list public-only docs belonging to me on a web page, so the user viewing the web page should not need authentication or even to have a Google account.
我想在网页上列出属于我的仅公开文档,因此查看网页的用户不需要身份验证甚至不需要拥有Google帐户。
I can do this easily in the Blogger API. 我可以在Blogger API中轻松完成此操作。
https://www.googleapis.com/blogger/v3/blogs/blogId/posts https://www.googleapis.com/blogger/v3/blogs/blogId/posts
Don't really care the method (writing in PHP) for retrieving the data, but I want it to happen server side and it should not require authentication by the user. 并不太在意用于检索数据的方法(用PHP编写),但是我希望它发生在服务器端,并且不需要用户进行身份验证。
Have I missed something? 我错过了什么吗?
You can use the Google Documents List API . 您可以使用Google Documents List API 。 I believe it only requires auth for non-public data retrieval.
我相信它只需要对非公共数据检索进行身份验证即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.