比较云python sdk
groupdocs-comparison-cloud的Python项目详细描述
groupdocs.comparison云python sdk
用于与groupdocs.comparison cloud api通信的python包
要求
python 2.7或3.4+
安装
使用PIP从PyPI安装groupdocs-comparison-cloud
,安装方式:
pip install groupdocs-comparison-cloud
或者克隆存储库并通过Setuptools:
python setup.py install
开始
请按照installation procedure操作,然后运行以下命令:
# Import moduleimportgroupdocs_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 APIapi=groupdocs_comparison_cloud.InfoApi.from_keys(app_sid,app_key)try:# Retrieve supported file-formatsresponse=api.get_supported_file_formats()# Print out supported file-formatsprint("Supported file-formats:")forformatinresponse.formats:print('{0} ({1})'.format(format.file_format,format.extension))exceptgroupdocs_comparison_cloud.ApiExceptionase:print("Exception when calling get_supported_file_formats: {0}".format(e.message))
许可
groupdocs.comparison cloud python sdk在MIT License下获得许可。
资源
联系我们
你的反馈对我们很重要。请随时使用我们的Support Forums与我们联系。