使用 Google Drive API 的 HTML2PDF [英] HTML2PDF using Google Drive API

查看:16
本文介绍了使用 Google Drive API 的 HTML2PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在没有 用户的情况下使用 Google Drive API 上传 HTML 文件并将其转换为 PDF互动?

推荐答案

是的,有两个请求.您可以将文件作为 Google Docs 导入,然后将其导出为 PDF.使用 Drive API.

Yes, it is, with two requests. You can import the file as a Google Docs, then export it to PDF. Using the Drive API.

https://developers.google.com/drive/v2/reference/files/inserthttps://developers.google.com/drive/v2/reference/files/get

这篇关于使用 Google Drive API 的 HTML2PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆