javascript 用于 Node.js 的 Google Docs API

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7230192/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 23:23:55  来源:igfitidea点击:

Google Docs API for Node.js

javascriptnode.jsgoogle-docs-api

提问by Van Coding

Is there a JavaScript API or third party framework for Google Docs that I can use in Node.js?

我可以在 Node.js 中使用 Google Docs 的 JavaScript API 或第三方框架吗?

Thanks

谢谢

采纳答案by nibin012

Google apps allows RESTful api's to access resources. Please refer the protocol guide for the same

Google 应用程序允许 RESTful api 访问资源。请参阅协议指南以获取相同的信息

http://code.google.com/apis/documents/docs/developers_guide.html

http://code.google.com/apis/documents/docs/developers_guide.html

回答by jpillora

There are a few plugins to read google spreadsheets though not many to do batch updates. So if you just want to update google spreadsheets, check out: https://github.com/jpillora/node-edit-google-spreadsheet

有一些插件可以读取谷歌电子表格,但用于批量更新的插件并不多。因此,如果您只想更新谷歌电子表格,请查看:https: //github.com/jpillora/node-edit-google-spreadsheet

回答by Mikeumus

As nelsonic mentions in his reply to nibin012, there is niftylettuce's node-google-drive node.js module: https://npmjs.org/package/google-drive

正如 nelsonic 在他对 nibin012 的回复中提到的,有 niftylettuce 的 node-google-drive node.js 模块:https://npmjs.org/package/google-drive

Then the Google Drive API there is Google OAuth for "service"/server apps mentioned in the following links: https://developers.google.com/accounts/docs/OAuth2#scenarioshttps://developers.google.com/accounts/docs/OAuth2ServiceAccount

然后是 Google Drive API,以下链接中提到的“服务”/服务器应用程序有 Google OAuth:https: //developers.google.com/accounts/docs/OAuth2#scenarios https://developers.google.com/accounts /docs/OAuth2ServiceAccount

However in the latter link there is no support for a JavaScript library yet.

但是,在后一个链接中,尚不支持 JavaScript 库。