Api2pdf

Latest version: v2.1.0

Safety actively analyzes 618506 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1

This release is an update to the python client library to support the new feature added to the API2PDF REST API - extract pages out of a PDF. This allows you to make a call to the API with a page range to split out those pages into a new PDF. More details on tips and tricks of specifying page ranges is [here](https://www.api2pdf.com/extract-pages-out-of-a-pdf-with-rest-api/)

2.0.1

Minor fix where download_pdf() function was forgotten to be renamed to download_file() in version 2 and updated accordingly.

2.0.0

This is a major release which contains breaking changes. You can remain on the older version of this library if you wish to keep using v2018.api2pdf.com. Upgrade is not required, though recommended. We will continue to run the older version of the API indefinitely.

Version 2 of Api2Pdf full REST API documentation located here: https://www.api2pdf.com/documentation/v2

Feature Set:

Chrome
- HTML to PDF, URL to PDF with added *delay* and *puppeteer* features
- (new) HTML to Image, URL to Image. Useful for taking screenshots of websites.

Wkhtmltopdf
- HTML to PDF, URL to PDF. Added ability to autogenerate Table of Contents.

LibreOffice
- Convert any file to PDF (no change here, but better support for .msg and .eml files)
- (new) Generate an image preview / thumbnail preview of a PDF, Word, Powerpoint, or any other file that LibreOffice can reasonably open. This is fantastic if you want to generate an image preview for your users.
- (new) HTML to Docx. Now create Word files from HTML!
- (new) HTML to Xlsx. Create an excel file if you have a well designed HTML with tables!
- (new) PDF to HTML. Kind of a weird endpoint, but helpful if you want to strip text from a PDF and index the contents.

PdfSharp
- Merge pdfs together
- (new) 'Add Bookmarks' endpoint. PDFs have a bookmarks feature and now you can specify those bookmarks with this endpoint
- (new) 'Password' endpoint. Now password protected PDFs with this endpoint.

On top of these exciting upgrades, this python library got a facelift. Method names have been updated to be better reflect the API.

Best,
API2PDF team

0.0.11

Important new feature released to Api2Pdf that allows deletion of PDFs on command.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.