Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

api2pdf

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api2pdf - npm Package Compare versions

Comparing version
2.0.1
to
2.1.0
+11
-2
api2pdf.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: api2pdf
Version: 2.0.1
Version: 2.1.0
Summary: This client library is a wrapper for the Api2Pdf.com REST API. See full REST api documentation at https://www.api2pdf.com/documentation/v2. Api2Pdf is a powerful API that supports HTML to PDF, URL to PDF, HTML to Image, URL to Image, Thumbnail / image preview of an Office file, Office files (Word to PDF), HTML to Docx, HTML to excel, PDF to HTML, merge PDFs together, add bookmarks to PDFs, add passwords to PDFs

@@ -12,3 +12,3 @@ Home-page: https://github.com/api2pdf/api2pdf.python

Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, and adding bookmarks to PDFs. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.
Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, adding bookmarks to PDFs, splitting or extracting pages from a PDF. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.

@@ -232,2 +232,11 @@ - [Installation](#installation)

**Extract pages, or split an existing PDF**
[More information here](https://www.api2pdf.com/extract-pages-out-of-a-pdf-with-rest-api/)
url = 'https://link-to-pdf'
start = 0
end = 2
response = a2p.PdfSharp.extract_pages(url, start, end)
---

@@ -234,0 +243,0 @@

@@ -136,2 +136,9 @@ import requests

def extract_pages(self, url, start=0, end=0, inline=True, file_name=None):
payload = self._build_base_payload(inline, file_name)
payload['url'] = url
payload['start'] = start
payload['end'] = end
return self._make_request('/pdfsharp/extract-pages', payload)
class Api2PdfResponse(object):

@@ -138,0 +145,0 @@ def __init__(self, headers, endpoint, payload_as_json, response):

Metadata-Version: 2.1
Name: api2pdf
Version: 2.0.1
Version: 2.1.0
Summary: This client library is a wrapper for the Api2Pdf.com REST API. See full REST api documentation at https://www.api2pdf.com/documentation/v2. Api2Pdf is a powerful API that supports HTML to PDF, URL to PDF, HTML to Image, URL to Image, Thumbnail / image preview of an Office file, Office files (Word to PDF), HTML to Docx, HTML to excel, PDF to HTML, merge PDFs together, add bookmarks to PDFs, add passwords to PDFs

@@ -12,3 +12,3 @@ Home-page: https://github.com/api2pdf/api2pdf.python

Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, and adding bookmarks to PDFs. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.
Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, adding bookmarks to PDFs, splitting or extracting pages from a PDF. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.

@@ -232,2 +232,11 @@ - [Installation](#installation)

**Extract pages, or split an existing PDF**
[More information here](https://www.api2pdf.com/extract-pages-out-of-a-pdf-with-rest-api/)
url = 'https://link-to-pdf'
start = 0
end = 2
response = a2p.PdfSharp.extract_pages(url, start, end)
---

@@ -234,0 +243,0 @@

# api2pdf.python
Python bindings for [Api2Pdf REST API](https://www.api2pdf.com/documentation/v2)
Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, and adding bookmarks to PDFs. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.
Api2Pdf.com is a powerful REST API for instantly generating PDF and Office documents from HTML, URLs, Microsoft Office Documents (Word, Excel, PPT), Email files, and images. You can generate image preview or thumbnail of a PDF, office document, or email file. The API also supports merge / concatenation of two or more PDFs, setting passwords on PDFs, adding bookmarks to PDFs, splitting or extracting pages from a PDF. Api2Pdf is a wrapper for popular libraries such as **wkhtmltopdf**, **Headless Chrome**, **PdfSharp**, and **LibreOffice**.

@@ -223,2 +223,11 @@ - [Installation](#installation)

**Extract pages, or split an existing PDF**
[More information here](https://www.api2pdf.com/extract-pages-out-of-a-pdf-with-rest-api/)
url = 'https://link-to-pdf'
start = 0
end = 2
response = a2p.PdfSharp.extract_pages(url, start, end)
---

@@ -225,0 +234,0 @@

+1
-1

@@ -8,3 +8,3 @@ import setuptools

name="api2pdf",
version="2.0.1",
version="2.1.0",
author="Zack Schwartz",

@@ -11,0 +11,0 @@ author_email="support@api2pdf.com",