我正在尝试做一个应用程序,这需要谷歌电子表格API,但它看起来我无法从控制台启用它。因此,我不能请求对文档的权限。
我知道这是可能的,因为我找到了一个游乐场:https://developers.google.com/oauthplayground,它请求对Spreadsheet API的权限,但我只是不知道他们是如何做到的。
有没有人能帮帮我?
发布于 2014-09-12 04:39:05
您需要在https://spreadsheets.google.com/feeds权限范围内使用OAuth2。如果您想要在用户驱动器中创建新的电子表格文件,则还需要https://www.googleapis.com/auth/drive作用域。
https://spreadsheets.google.com/feeds
https://www.googleapis.com/auth/drive
有关Spreadsheet API和this for Drive的更多信息,请参阅this。
https://stackoverflow.com/questions/20247443
相似问题