api2pdf
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: api2pdf | ||
| Version: 0.0.6 | ||
| Version: 0.0.7 | ||
| Summary: Wrapper for api2pdf.com library for converting html, urls, and word documents to pdf | ||
@@ -84,18 +84,30 @@ Home-page: https://github.com/api2pdf/api2pdf.python | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `html <string>` - raw string of html content | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -106,19 +118,31 @@ ### <a name="convert-from-url"></a>Convert URL to PDF | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `url <string>` - url to a pdf that Api2Pdf can consume | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -133,9 +157,19 @@ ### <a name="convert-from-office"></a>Convert Microsoft Office Documents and Images to PDF | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=True, file_name=None) | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=False, file_name=None) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| *Parameters:* | ||
| `url <string>` - url to a file of one of the supported formats above | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| ``` | ||
@@ -146,12 +180,22 @@ ### <a name="merge"></a>Merge / Concatenate Two or More PDFs | ||
| ##### merge(list_of_urls) | ||
| ##### merge(list_of_urls, inline_pdf=False, file_name=None) | ||
| *Paramaters:* | ||
| `list_of_urls <list>` - list of urls to pdfs | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ``` | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ### <a name="helper-methods"></a>Helper Methods | ||
@@ -163,12 +207,13 @@ | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| ``` | ||
| ## <a name="faq"></a>FAQ | ||
@@ -175,0 +220,0 @@ |
@@ -28,4 +28,10 @@ import requests | ||
| def merge(self, list_of_urls): | ||
| return self._make_request(API2PDF_MERGE_ENDPOINT, list_of_urls) | ||
| def merge(self, list_of_urls, inline_pdf=False, file_name=None): | ||
| payload = { | ||
| 'urls': list_of_urls, | ||
| 'inlinePdf': inline_pdf | ||
| } | ||
| if file_name != None: | ||
| payload['fileName'] = file_name | ||
| return self._make_request(API2PDF_MERGE_ENDPOINT, payload) | ||
@@ -32,0 +38,0 @@ def _make_html_payload(self, html, inline_pdf=False, file_name=None, **options): |
+89
-44
| Metadata-Version: 2.1 | ||
| Name: api2pdf | ||
| Version: 0.0.6 | ||
| Version: 0.0.7 | ||
| Summary: Wrapper for api2pdf.com library for converting html, urls, and word documents to pdf | ||
@@ -84,18 +84,30 @@ Home-page: https://github.com/api2pdf/api2pdf.python | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `html <string>` - raw string of html content | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -106,19 +118,31 @@ ### <a name="convert-from-url"></a>Convert URL to PDF | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `url <string>` - url to a pdf that Api2Pdf can consume | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -133,9 +157,19 @@ ### <a name="convert-from-office"></a>Convert Microsoft Office Documents and Images to PDF | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=True, file_name=None) | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=False, file_name=None) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| *Parameters:* | ||
| `url <string>` - url to a file of one of the supported formats above | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| ``` | ||
@@ -146,12 +180,22 @@ ### <a name="merge"></a>Merge / Concatenate Two or More PDFs | ||
| ##### merge(list_of_urls) | ||
| ##### merge(list_of_urls, inline_pdf=False, file_name=None) | ||
| *Paramaters:* | ||
| `list_of_urls <list>` - list of urls to pdfs | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ``` | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ### <a name="helper-methods"></a>Helper Methods | ||
@@ -163,12 +207,13 @@ | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| ``` | ||
| ## <a name="faq"></a>FAQ | ||
@@ -175,0 +220,0 @@ |
+88
-43
@@ -76,18 +76,30 @@ # Api2Pdf - Python | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `html <string>` - raw string of html content | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_html(html, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_html('<p>Hello World</p>') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_html('<p>Hello World</p>') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -98,19 +110,31 @@ ### <a name="convert-from-url"></a>Convert URL to PDF | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=False, file_name=None, **options) | ||
| *Parameters:* | ||
| `url <string>` - url to a pdf that Api2Pdf can consume | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| `**options <keyword args> (optional, default=None)` - include options for generating a PDF with your chosen library. See available options here: | ||
| - [wkhtmltopdf options](https://www.api2pdf.com/documentation/advanced-options-wkhtmltopdf/) | ||
| - [headless chrome options](https://www.api2pdf.com/documentation/advanced-options-headless-chrome/) | ||
| ##### HeadlessChrome.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| ##### WkHtmlToPdf.convert_from_url(url, inline_pdf=True, file_name=None, **options) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # headless chrome | ||
| headless_chrome_result = a2p.HeadlessChrome.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(headless_chrome_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| # wkhtmltopdf | ||
| wkhtmltopdf_result = a2p.WkHtmlToPdf.convert_from_url('https://LINK-TO-YOUR-WEBSITE') | ||
| print(wkhtmltopdf_result.result) | ||
| ``` | ||
@@ -125,9 +149,19 @@ ### <a name="convert-from-office"></a>Convert Microsoft Office Documents and Images to PDF | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=True, file_name=None) | ||
| ##### LibreOffice.convert_from_url(url, inline_pdf=False, file_name=None) | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| *Parameters:* | ||
| `url <string>` - url to a file of one of the supported formats above | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| libreoffice_result = a2p.LibreOffice.convert_from_html('https://LINK-TO-YOUR-FILE') | ||
| print(libreoffice_result.result) | ||
| ``` | ||
@@ -138,12 +172,22 @@ ### <a name="merge"></a>Merge / Concatenate Two or More PDFs | ||
| ##### merge(list_of_urls) | ||
| ##### merge(list_of_urls, inline_pdf=False, file_name=None) | ||
| *Paramaters:* | ||
| `list_of_urls <list>` - list of urls to pdfs | ||
| `inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab. | ||
| `file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf". | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ``` | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| print(merge_result.result) | ||
| ### <a name="helper-methods"></a>Helper Methods | ||
@@ -155,12 +199,13 @@ | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| ``` | ||
| from api2pdf import Api2Pdf | ||
| a2p = Api2Pdf('YOUR-API-KEY') | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| # merge pdfs | ||
| links_to_pdfs = ['https://LINK-TO-PDF', 'https://LINK-TO-PDF'] | ||
| merge_result = a2p.merge(links_to_pdfs) | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| pdf_as_file_object = merge_result.download_pdf() | ||
| ``` | ||
| ## <a name="faq"></a>FAQ | ||
@@ -167,0 +212,0 @@ |
+1
-1
@@ -8,3 +8,3 @@ import setuptools | ||
| name="api2pdf", | ||
| version="0.0.6", | ||
| version="0.0.7", | ||
| author="Zack Schwartz", | ||
@@ -11,0 +11,0 @@ author_email="support@api2pdf.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
39991
14.92%129
4.88%