使用Google Drive API的HTML2PDF

pro*_*ppy 9 html pdf google-drive-api

是否可以使用Google Drive API将HTML文件上传和转换为PDF而无需用户交互

Ali*_*har 8

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

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

  • 是否也可以将docx转换成pdf然后下载? (2认同)