Skip to main content

GroupDocs.Conversion Cloud Python SDK

Project description

GroupDocs.Conversion Cloud Python SDK

Python package for communicating with the GroupDocs.Conversion Cloud API

Requirements

Python 2.7 or 3.4+

Installation

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

pip install groupdocs-conversion-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_conversion_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_conversion_cloud.InfoApi.from_keys(app_sid, app_key)

try:
    # Retrieve supported conversion types
    request = groupdocs_conversion_cloud.GetSupportedConversionTypesRequest()
    response = api.get_supported_conversion_types(request)

    # Print out supported conversion types
    print("Supported conversion types:")
    for format in response:
        print('{0} to [{1}]'.format(format.source_format, ', '.join(format.target_formats))) 
except groupdocs_conversion_cloud.ApiException as e:
    print("Exception when calling get_supported_conversion_types: {0}".format(e.message))

Licensing

GroupDocs.Conversion 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.

Files for groupdocs-conversion-cloud, version 19.5
Filename, size & hash File type Python version Upload date
groupdocs_conversion_cloud-19.5-py3-none-any.whl (356.9 kB) View hashes Wheel py3
groupdocs-conversion-cloud-19.5.tar.gz (69.3 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page