DEV Community

GuGuData
GuGuData

Posted on

Markdown 转 PDF API 数据接口

Markdown 转 PDF API 数据接口

PDF 永久存储,高效生成 PDF,提供永久链接。

gugudata_api_cover

1. 产品功能

  • 超高性能转换效率;
  • 支持将传递的 Markdown 转换为 PDF;
  • 转换后的 PDF 提供永久存储文件地址;
  • 全接口支持 HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3);
  • 全面兼容 Apple ATS;
  • 全国多节点 CDN 部署;
  • 接口极速响应,多台服务器构建 API 接口负载均衡;
  • 接口调用状态与状态监控

2. API 文档

接口详情: https://www.gugudata.com/api/details/markdown2pdf

接口地址: https://api.gugudata.com/imagerecognition/markdown2pdf

返回格式: application/json; charset=utf-8

请求方式: POST

请求协议: HTTPS

请求示例: https://api.gugudata.com/imagerecognition/markdown2pdf

数据预览: https://www.gugudata.com/preview/markdown2pdf

接口测试: https://api.gugudata.com/imagerecognition/markdown2pdf/demo

3. 请求参数

参数名 参数类型 是否必须 默认值 备注
appkey string YOUR_APPKEY 付费后获取的 APPKEY
content string YOUR_VALUE Markdown 内容

4. 返回参数

参数名 参数类型 备注
DataStatus.StatusCode int 接口返回状态码
DataStatus.StatusDescription string 接口返回状态说明
DataStatus.ResponseDateTime string 接口数据返回时间
DataStatus.DataTotalCount int 此条件下的总数据量,一般用于分页计算
Data string 转换后的 PDF 永久链接

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay