Skip to main content

GroupDocs.Merger Cloud Python SDK

Project description

GroupDocs.Merger Cloud Python SDK

Python package for communicating with the GroupDocs.Merger Cloud API

GroupDocs.Merger Cloud allows you to merge documents and manipulate document structure across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others. Merge several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations with GroupDocs.Merger Cloud API.

Requirements

Python 2.7 or 3.4+

Installation

Install groupdocs-merger-cloud with PIP from PyPI by:

pip install groupdocs-merger-cloud

Or clone repository and install it via Setuptools:

python setup.py install

Getting Started

Please follow the installation procedure and then run following:

# Import module
import groupdocs_merger_cloud

# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

# Create instance of the API
api = groupdocs_merger_cloud.InfoApi.from_keys(app_sid, app_key)

try:
    # Retrieve supported file-formats
    response = api.get_supported_file_formats()

    # Print out supported file-formats
    print("Supported file-formats:")
    for format in response.formats:
        print('{0} ({1})'.format(format.file_format, format.extension)) 
except groupdocs_merger_cloud.ApiException as e:
    print("Exception when calling get_supported_file_formats: {0}".format(e.message))

Licensing

GroupDocs.Merger Cloud Python SDK licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

groupdocs-merger-cloud-19.10.tar.gz (39.0 kB view hashes)

Uploaded Source

Built Distribution

groupdocs_merger_cloud-19.10-py3-none-any.whl (118.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page