Skip to main content

GroupDocs.Comparison Cloud Python SDK

Project description

GroupDocs.Comparison Cloud Python SDK

Python package for communicating with the GroupDocs.Comparison Cloud API

Requirements

Python 2.7 or 3.4+

Installation

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

pip install groupdocs-comparison-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_comparison_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_comparison_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_comparison_cloud.ApiException as e:
    print("Exception when calling get_supported_file_formats: {0}".format(e.message))

Launch tests

Put your app_sid and app_key into test_settings.py, then run command

python -m unittest discover -v -s test -p 'test_*.py'

Licensing

GroupDocs.Comparison 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_comparison_cloud-26.5.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

groupdocs_comparison_cloud-26.5-py3-none-any.whl (128.8 kB view details)

Uploaded Python 3

File details

Details for the file groupdocs_comparison_cloud-26.5.tar.gz.

File metadata

File hashes

Hashes for groupdocs_comparison_cloud-26.5.tar.gz
Algorithm Hash digest
SHA256 6240dd5de04ef1858237e77c00514a8002e99811bc69479768197753e8c78736
MD5 f6bfdb3d8b0669a46052835c7367e298
BLAKE2b-256 0d1533e726c4d242120f0d2bb0d5acc5953e6e34b1f7ea804c6f820316ccf9ba

See more details on using hashes here.

File details

Details for the file groupdocs_comparison_cloud-26.5-py3-none-any.whl.

File metadata

File hashes

Hashes for groupdocs_comparison_cloud-26.5-py3-none-any.whl
Algorithm Hash digest
SHA256 757f616e5ed394dfb5321fd721b61332565af8e26f7d772c9ed1aa7b441c57b5
MD5 b32f70030edcd0ee68366051aeb55cf3
BLAKE2b-256 64e395a6b6eacf6c87bf6f32e8f7422aa68b5bf84ad33bbf8ae3e91094a13caa

See more details on using hashes here.

Supported by

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