【发布时间】:2017-04-12 20:27:50
【问题描述】:
我想使用 GET 构造在 Google Sheet ID“ABC123”中获取 Sheet2 的单元格 A2 的值。
https://sheets.googleapis.com/v4/spreadsheets/ABC123/values:batchGet?ranges=Sheet2!A2:A2&key=myverysecretkey123
给我...
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
}
我在https://console.developers.google.com/apis/credentials 创建了 API 密钥,但是如何将 Google 表格 ID“ABC123”与此 API 连接起来? (或者这甚至是下一步吗?)
【问题讨论】: