[英]Warning you must upgrade to the latest version of google-spreadsheet
當我從谷歌電子表格中獲取一些數據並插入到數據庫中時,我正在嘗試實施一個項目。 插入部分對我來說還不重要。 當我嘗試從 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
它仍然給我數據,但我收到警告。 誰知道我如何擺脫那個警告?
這是什么意思?
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.