groupdocs.annotation云python sdk
groupdocs-annotation-cloud的Python项目详细描述
groupdocs.annotation云python sdk
用于与groupdocs.annotation cloud api通信的python包
要求
Python 2.7或3.4+
安装
使用PIP从PyPI安装groupdocs-annotation-cloud
,安装方式:
pip install groupdocs-annotation-cloud
或者克隆存储库并通过Setuptools安装:
python setup.py install
开始
请按照installation procedure操作,然后运行以下命令:
# Import moduleimportgroupdocs_annotation_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_annotation_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_annotation_cloud.ApiExceptionase:print("Exception when calling get_supported_file_formats: {0}".format(e.message))
许可
GroupDocs.Annotation Cloud Python SDK许可于MIT License
资源
联系我们
你的反馈对我们很重要请随时使用我们的Support Forums与我们联系