appkey (string, required): APPKEY obtained after payment
type (string, required): Optional parameters are HTML or URL (Note: when the type is URL, ensure that the page can be requested normally. Our interface does not handle requests for encrypted pages, anti-crawling pages, etc., that cannot return HTML normally)
content (string, required): Content body. If type=HTML, pass HTML content; if type=URL, pass the URL of the site to be stored as a PDF
landscape (int, optional): Controls whether the generated PDF is in landscape page mode. Pass 1 to control landscape rendering mode, default is 0
Response Fields Count: 5 Response Field Examples:
DataStatus.StatusCode: Interface return status code
DataStatus.StatusDescription: Interface return status description
DataStatus.ResponseDateTime: Interface data return time
DataStatus.DataTotalCount: Total data volume under this condition, generally used for pagination calculation
Data: Permanent link to the converted PDF
Key Features:
Superior performance conversion efficiency
Supports converting passed HTML to PDF, supports converting CSS format in HTML
Supports passing website URL, directly converting page to corresponding PDF file
The converted PDF provides a permanent storage file address