π Hey Product Hunters!
Six months ago we launched Microlink for Screenshot as part of our product iteration to offer browser capabilities ready to be used directly consuming our API.
Today, we're thrilled to announce Microlink for PDF π₯.
You can see a live demo at https://microlink.io/pdf.
Microlink for PDF is based on the same engineering principles as the rest of the functionality behind Microlink API: making it trivial to get something back from any URL.
Enabling the new `pdf` query parameter will add a pdf data field as part of the response payload.
The PDF file created as output of the process is hosted on Microlink CDN. You can enable auto file refresh using `ttl`, always getting an updated PDF representation of the target URL.
Additionally, a set of new query parameters has been added for better PDF accommodation, such as `scale`, `margin` or `media`.
These query parameters are especially helpful when the target URL is not actually prepared to be properly exported as a PDF.
Another thing worth mentioning is the ability to consume the PDF directly from HTML markup using `embed` mode.
This way, the PDF file will be created on the fly, making it a *backendless* solution: just HTML.
Happy to answer any questions! :)
microlink.io