HTMLPythonConversion
How to Convert HTML to PDF Using PDF.co Web API in Python
The only required request parameter is “HTML”, where you specify valid HTML code to be converted. The rest are optional and allow to set additional document properties, like header, footer, orientation, etc. For a full list of supported parameters, please refer to the online docs.