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.

Source Distribution

groupdocs_conversion_cloud-24.11.tar.gz (79.9 kB view details)

Uploaded Source

Built Distribution

groupdocs_conversion_cloud-24.11-py3-none-any.whl (383.2 kB view details)

Uploaded Python 3

File details

Details for the file groupdocs_conversion_cloud-24.11.tar.gz.

File metadata

File hashes

Hashes for groupdocs_conversion_cloud-24.11.tar.gz
Algorithm Hash digest
SHA256 1f1e20afbe228229652341702fd0cc9808ef0875f70d80b28254bb55e872a40b
MD5 45a7e00dcf4fdccfd19fec2f24cb5324
BLAKE2b-256 a711d3b376a61571e89f7957eb79fddd2bb34d172492656a461174e1934955bb

See more details on using hashes here.

File details

Details for the file groupdocs_conversion_cloud-24.11-py3-none-any.whl.

File metadata

File hashes

Hashes for groupdocs_conversion_cloud-24.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d064d0932b07f950a985481450263d9124f5494269e6170721caf44985f40a50
MD5 304dae3a24f1c87ac67932e8569470f0
BLAKE2b-256 05976377c829d7991a7096f86b15e9f8c498b6f0f259425da7011baf1841db97

See more details on using hashes here.

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