[英]Warning you must upgrade to the latest version of google-spreadsheet
I am trying to implement a project when I get some data from a google spreadsheet and insert into a database.当我从谷歌电子表格中获取一些数据并插入到数据库中时,我正在尝试实施一个项目。 Inserting part is not important for me yet.
插入部分对我来说还不重要。 When I am trying to get the data from google spreadsheet document I get this Warning!
当我尝试从 google 电子表格文档中获取数据时,我收到此警告!
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
It's still give me the data, but I get the warning.它仍然给我数据,但我收到警告。 Somebody who knows how do i get rid of that warning?
谁知道我如何摆脱那个警告?
What does it mean?这是什么意思?
const sheets = google.sheets({version: 'v3', auth});
const sheets = google.sheets({version: 'v3', auth});
, your code will stop working in the near future const sheets = google.sheets({version: 'v3', auth});
const sheets = google.sheets({version: 'v3', auth});
来更新您的代码const sheets = google.sheets({version: 'v3', auth});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.