用于 Node.js 的 Google 文档 API
是否有可以在 Node.js 中使用的 JavaScript API 或 Google Docs 第三方框架?
谢谢
Is there a JavaScript API or third party framework for Google Docs that I can use in Node.js?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Google Apps 允许 RESTful api 访问资源。请参阅协议指南以获取相同的
http://code.google.com/apis /documents/docs/developers_guide.html
Google apps allows RESTful api's to access resources. Please refer the protocol guide for the same
http://code.google.com/apis/documents/docs/developers_guide.html
有一些插件可以读取谷歌电子表格,但没有很多可以进行批量更新。因此,如果您只想更新 Google 电子表格,请查看:https://github.com/ jpillora/node-edit-google-spreadsheet
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
正如 nelsonic 在回复 nibin012 中提到的,有 niftylettuce 的 node-google-drive node.js 模块:
https://npmjs.org/package/google-drive
那么 Google Drive API 就是 Google以下链接中提到的“服务”/服务器应用程序的 OAuth:
https://developers.google.com/accounts/docs/OAuth2#scenarios
https://developers.google.com/accounts/docs/OAuth2ServiceAccount
但是在后者中链接尚不支持 JavaScript 库。
As nelsonic mentions in his reply to nibin012, there is niftylettuce's node-google-drive node.js module:
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#scenarios
https://developers.google.com/accounts/docs/OAuth2ServiceAccount
However in the latter link there is no support for a JavaScript library yet.