【发布时间】:2020-10-15 06:44:45
【问题描述】:
当我从谷歌电子表格中获取一些数据并插入数据库时,我正在尝试实施一个项目。插入零件对我来说并不重要。当我试图从谷歌电子表格文档中获取数据时,我收到了这个警告!
WARNING! You must upgrade to the latest version of google-spreadsheet!
Google's deprecation date for the v3 sheets API is March 3rd 2020
Bad news - this version of this module will stop working on that date :(
Good news - the new version of the module uses the newer v4 api :)
However, there are breaking changes, so please see the docs site
https://theoephraim.github.io/node-google-spreadsheet
它仍然给我数据,但我收到了警告。 有人知道我该如何摆脱该警告?
【问题讨论】:
-
你能把代码放在这里吗?
-
@JeremyThille 我尝试安装最新版本,但我的程序不再工作了:)))。显然 vesion google-spreadsheet@2.0.6 没有这个警告。所以我推荐 npm install google-spreadsheet@2.0.6
-
@AmitKadivar 非常感谢您有时间回答,但我找到了摆脱该警告的方法。反正。有一个 lib 版本警告。
-
无论如何,谢谢你的时间和兴趣来帮助我
-
请编辑您的问题并包含您的代码。我们需要看看是什么给了你这个错误请确保你使用正确的谷歌表格 api developers.google.com/sheets/api/quickstart/nodejs
标签: javascript node.js google-sheets google-api