node-sheets:使用Google的表格API从Google电子表格中读取行

时间:2021-05-23 20:48:02
【文件属性】:
文件名称:node-sheets:使用Google的表格API从Google电子表格中读取行
文件大小:71KB
文件格式:ZIP
更新时间:2021-05-23 20:48:02
google-spreadsheet tabular-data spreadsheet sheet JavaScript 节点表 使用Google的表格API从Google电子表格中读取行。 安装 $ npm install node-sheets --save $ yarn add node-sheets 用法 使用ES7 async / await从此检索数据的示例。 import Sheets from 'node-sheets' ; try { const gs = new Sheets ( '1amfst1WVcQDntGe6walYt-4O5SCrHBD5WntbjhvfIm4' ) ; const authData = require ( 'someGoogleCredentials.json' ) ; // authData = { client_email, private_key } await gs . authorizeJWT ( authData ) ; cons
【文件预览】:
node-sheets-master
----.babelrc(193B)
----package.json(2KB)
----.github()
--------workflows()
----test()
--------index.js(8KB)
--------cred()
----.prettierignore(58B)
----LICENSE(1KB)
----package-lock.json(226KB)
----src()
--------index.js(32B)
--------sheets.js(10KB)
----.gitignore(107B)
----CHANGELOG.md(175B)
----.prettierrc.js(42B)
----README.md(6KB)
----.vscode()
--------settings.json(34B)

网友评论