All URIs are relative to https://api.cloudmersive.com
Method | HTTP request | Description |
---|---|---|
merge_document_batch_job_create | POST /convert/merge/batch-job/create | Merge an array of Documents into a Single Document by Page as a Batch Job |
merge_document_docx | POST /convert/merge/docx | Merge Two Word DOCX Together |
merge_document_docx_multi | POST /convert/merge/docx/multi | Merge Multple Word DOCX Together |
merge_document_docx_multi_array | POST /convert/merge/docx/multi/array | Merge Multple Word DOCX Together from an array |
merge_document_get_async_job_status | GET /convert/merge/batch-job/status | Get the status and result of a Merge Document Batch Job |
merge_document_html | POST /convert/merge/html | Merge Two HTML (HTM) Files Together |
merge_document_html_multi | POST /convert/merge/html/multi | Merge Multple HTML (HTM) Files Together |
merge_document_html_multi_array | POST /convert/merge/html/multi/array | Merge Multple HTML (HTM) Files Together from an array |
merge_document_pdf | POST /convert/merge/pdf | Merge Two PDF Files Together |
merge_document_pdf_multi | POST /convert/merge/pdf/multi | Merge Multple PDF Files Together |
merge_document_pdf_multi_array | POST /convert/merge/pdf/multi/array | Merge Multple PDF Files Together from an array |
merge_document_png | POST /convert/merge/png/vertical | Merge Two PNG Files Together |
merge_document_png_multi | POST /convert/merge/png/vertical/multi | Merge Multple PNG Files Together |
merge_document_png_multi_array | POST /convert/merge/png/vertical/multi/array | Merge Multple PNG Files Together from an array |
merge_document_pptx | POST /convert/merge/pptx | Merge Two PowerPoint PPTX Together |
merge_document_pptx_multi | POST /convert/merge/pptx/multi | Merge Multple PowerPoint PPTX Together |
merge_document_pptx_multi_array | POST /convert/merge/pptx/multi/array | Merge Multple PowerPoint PPTX Together from an array |
merge_document_txt | POST /convert/merge/txt | Merge Two Text (TXT) Files Together |
merge_document_txt_multi | POST /convert/merge/txt/multi | Merge Multple Text (TXT) Files Together |
merge_document_xlsx | POST /convert/merge/xlsx | Merge Two Excel XLSX Together |
merge_document_xlsx_multi | POST /convert/merge/xlsx/multi | Merge Multple Excel XLSX Together |
merge_document_xlsx_multi_array | POST /convert/merge/xlsx/multi/array | Merge Multple Excel XLSX Together from an Array |
MergeBatchJobCreateResult merge_document_batch_job_create(input)
Merge an array of Documents into a Single Document by Page as a Batch Job
Merge an array of Documents (PDF supported), into a single document. This API is designed for large jobs that could take a long time to create and so runs as a batch job that returns a Job ID that you can use with the GetAsyncJobStatus API to check on the status of the Job and ultimately get the output result. This API automatically detects the document type and then performs the split by using the document type-specific API needed to perform the split. This API is only available for Cloudmersive Managed Instance and Private Cloud deployments.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput |
try:
# Merge an array of Documents into a Single Document by Page as a Batch Job
api_response = api_instance.merge_document_batch_job_create(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_batch_job_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_docx(input_file1, input_file2)
Merge Two Word DOCX Together
Combine two Office Word Documents (docx) into one single Office Word document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two Word DOCX Together
api_response = api_instance.merge_document_docx(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_docx: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_docx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple Word DOCX Together
Combine multiple Office Word Documents (docx) into one single Office Word document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple Word DOCX Together
api_response = api_instance.merge_document_docx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_docx_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_docx_multi_array(input)
Merge Multple Word DOCX Together from an array
Combine multiple Office Word Documents (docx), stored in an array, into one single Office Word document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple Word DOCX Together from an array
api_response = api_instance.merge_document_docx_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_docx_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MergeJobStatusResult merge_document_get_async_job_status(async_job_id)
Get the status and result of a Merge Document Batch Job
Returns the result of the Async Job - possible states can be STARTED or COMPLETED. This API is only available for Cloudmersive Managed Instance and Private Cloud deployments.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
async_job_id = 'async_job_id_example' # str |
try:
# Get the status and result of a Merge Document Batch Job
api_response = api_instance.merge_document_get_async_job_status(async_job_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_get_async_job_status: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
async_job_id | str |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_html(input_file1, input_file2)
Merge Two HTML (HTM) Files Together
Combine two HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two HTML (HTM) Files Together
api_response = api_instance.merge_document_html(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_html: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_html_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple HTML (HTM) Files Together
Combine multiple HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple HTML (HTM) Files Together
api_response = api_instance.merge_document_html_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_html_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_html_multi_array(input)
Merge Multple HTML (HTM) Files Together from an array
Combine multiple HTML (.HTM) files, from an array, into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple HTML (HTM) Files Together from an array
api_response = api_instance.merge_document_html_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_html_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_pdf(input_file1, input_file2)
Merge Two PDF Files Together
Combine two PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two PDF Files Together
api_response = api_instance.merge_document_pdf(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pdf: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_pdf_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple PDF Files Together
Combine multiple PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple PDF Files Together
api_response = api_instance.merge_document_pdf_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pdf_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_pdf_multi_array(input)
Merge Multple PDF Files Together from an array
Combine multiple PDF files (pdf), as an array, into a single PDF document, preserving the order of the input documents in the combined document
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple PDF Files Together from an array
api_response = api_instance.merge_document_pdf_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pdf_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_png(input_file1, input_file2)
Merge Two PNG Files Together
Combine two PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two PNG Files Together
api_response = api_instance.merge_document_png(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_png: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_png_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple PNG Files Together
Combine multiple PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple PNG Files Together
api_response = api_instance.merge_document_png_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_png_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_png_multi_array(input)
Merge Multple PNG Files Together from an array
Combine multiple PNG files, from an array, into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple PNG Files Together from an array
api_response = api_instance.merge_document_png_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_png_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_pptx(input_file1, input_file2)
Merge Two PowerPoint PPTX Together
Combine two Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two PowerPoint PPTX Together
api_response = api_instance.merge_document_pptx(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pptx: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_pptx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple PowerPoint PPTX Together
Combine multiple Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple PowerPoint PPTX Together
api_response = api_instance.merge_document_pptx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pptx_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_pptx_multi_array(input)
Merge Multple PowerPoint PPTX Together from an array
Combine multiple Office PowerPoint presentations (pptx), from an array, into one single Office PowerPoint presentation
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple PowerPoint PPTX Together from an array
api_response = api_instance.merge_document_pptx_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_pptx_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_txt(input_file1, input_file2)
Merge Two Text (TXT) Files Together
Combine two Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two Text (TXT) Files Together
api_response = api_instance.merge_document_txt(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_txt: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
object
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_txt_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple Text (TXT) Files Together
Combine multiple Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple Text (TXT) Files Together
api_response = api_instance.merge_document_txt_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_txt_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_xlsx(input_file1, input_file2)
Merge Two Excel XLSX Together
Combine two Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on (more than 2 can be supplied).
try:
# Merge Two Excel XLSX Together
api_response = api_instance.merge_document_xlsx(input_file1, input_file2)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_xlsx: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on (more than 2 can be supplied). |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str merge_document_xlsx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
Merge Multple Excel XLSX Together
Combine multiple Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file1 = '/path/to/file.txt' # file | First input file to perform the operation on.
input_file2 = '/path/to/file.txt' # file | Second input file to perform the operation on.
input_file3 = '/path/to/file.txt' # file | Third input file to perform the operation on. (optional)
input_file4 = '/path/to/file.txt' # file | Fourth input file to perform the operation on. (optional)
input_file5 = '/path/to/file.txt' # file | Fifth input file to perform the operation on. (optional)
input_file6 = '/path/to/file.txt' # file | Sixth input file to perform the operation on. (optional)
input_file7 = '/path/to/file.txt' # file | Seventh input file to perform the operation on. (optional)
input_file8 = '/path/to/file.txt' # file | Eighth input file to perform the operation on. (optional)
input_file9 = '/path/to/file.txt' # file | Ninth input file to perform the operation on. (optional)
input_file10 = '/path/to/file.txt' # file | Tenth input file to perform the operation on. (optional)
try:
# Merge Multple Excel XLSX Together
api_response = api_instance.merge_document_xlsx_multi(input_file1, input_file2, input_file3=input_file3, input_file4=input_file4, input_file5=input_file5, input_file6=input_file6, input_file7=input_file7, input_file8=input_file8, input_file9=input_file9, input_file10=input_file10)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_xlsx_multi: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input_file1 | file | First input file to perform the operation on. | |
input_file2 | file | Second input file to perform the operation on. | |
input_file3 | file | Third input file to perform the operation on. | [optional] |
input_file4 | file | Fourth input file to perform the operation on. | [optional] |
input_file5 | file | Fifth input file to perform the operation on. | [optional] |
input_file6 | file | Sixth input file to perform the operation on. | [optional] |
input_file7 | file | Seventh input file to perform the operation on. | [optional] |
input_file8 | file | Eighth input file to perform the operation on. | [optional] |
input_file9 | file | Ninth input file to perform the operation on. | [optional] |
input_file10 | file | Tenth input file to perform the operation on. | [optional] |
str
- Content-Type: multipart/form-data
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object merge_document_xlsx_multi_array(input)
Merge Multple Excel XLSX Together from an Array
Combine multiple Office Excel spreadsheets (xlsx), as an array, into a single Office Excel spreadsheet
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.MergeDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input = cloudmersive_convert_api_client.DocumentArrayInput() # DocumentArrayInput | Array of input files
try:
# Merge Multple Excel XLSX Together from an Array
api_response = api_instance.merge_document_xlsx_multi_array(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling MergeDocumentApi->merge_document_xlsx_multi_array: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
input | DocumentArrayInput | Array of input files |
object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]