Skip to content

Commit 8c0ffc8

Browse files
committed
update readme docs for merge
1 parent 5820e95 commit 8c0ffc8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,16 @@ print(libreoffice_result.result)
166166

167167
To use the merge endpoint, supply a list of urls to existing PDFs. The engine will consume all of the PDFs and merge them into a single PDF, in the order in which they were provided in the list.
168168

169-
##### merge(list_of_urls)
169+
##### merge(list_of_urls, inline_pdf=False, file_name=None)
170170

171171
*Paramaters:*
172172

173173
`list_of_urls <list>` - list of urls to pdfs
174174

175+
`inline_pdf <bool> (optional, default=False)` - if set to True, web browser will load the PDF in a new tab.
176+
177+
`file_name <string> (optional, default=None)` - specify an optional file name like "report-03012019.pdf".
178+
175179
```
176180
from api2pdf import Api2Pdf
177181
a2p = Api2Pdf('YOUR-API-KEY')

0 commit comments

Comments
 (0)