documents.get api和显示文档在react.js应用中的内容

发布于 2025-02-10 17:32:19 字数 200 浏览 1 评论 0原文

我有一个项目,需要在React.js应用中显示一些Google Docs文档。 为了实现这一目标,我尝试使用一些软件包,例如React-Google-docs-viewer,但是,它没有我预期的。 搜索后,我找到了文档。从Google-docs-api中获取API,但我无法弄清楚如何从文档响应中显示Docuemnts的内容。呼叫似乎有些混乱。 有没有有效的方法来实现这一目标? 谢谢。

I have a project where I need to display some google docs documents in react.js app.
To achieve this first I tried to use some packages such as react-google-docs-viewer, however, it didn't work as I expected.
After searching I found documents.get API from google-docs-api but I couldn't figure out how can I display the docuemnts' content from the response of documents.get call which seems a little confusing.
Is there a efficient way to achieve this goal?
Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文