用户登录
用户注册

分享至

使用 Google Drive API 的 HTML2PDF

  • 作者: 超级爱范儿
  • 来源: 51数据库
  • 2022-10-25

问题描述

是否可以在没有 用户的情况下使用 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

软件
前端设计
程序设计
Java相关