To keep your team up-to-date and informed on shared projects and presentations, or to send complex information across systems without fear of leaking sensitive information, the following API will allow you to convert PDF documents to PPTX instantly. This will return a high-fidelity PowerPoint file that can then be easily edited and processed.
To use this API, run this command to install the SDK:
pip install cloudmersive-convert-api-client
Then, you can call the function:
from __future__ import print_function
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'# create an instance of the API class
api_instance = cloudmersive_convert_api_client.ConvertDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file = '/path/to/inputfile' # file | Input file to perform the operation on.try:
# Convert PDF to PowerPoint PPTX Presentation
api_response = api_instance.convert_document_pdf_to_pptx(input_file)
except ApiException as e:
print("Exception when calling ConvertDocumentApi->convert_document_pdf_to_pptx: %s\n" % e)
With this you can keep your projects safe and share information without losing or disrupting important formatting. You can retrieve the API Key from the Cloudmersive website at no cost and with no commitment. This will provide you with 800 monthly calls across our library of APIs.