GroupDocs.合并云Python SDK
groupdocs-merger-cloud的Python项目详细描述
在GroupDocs.合并云Python SDK
用于与通信的Python包GroupDocs.合并云API
在GroupDocs.合并Cloud允许您合并文档并操纵文档结构,这些文档类型包括PDF、DOCX/DOC、PPTX/PPT、XLSX/XLS、VSDX/VSD、ODT、ODS、ODP、HTML、EPUB和许多其他文档。将多个文档合并为一个,将单个文档拆分为多个文档,重新排序或替换文档页面,更改页面方向,管理文档密码,并使用执行其他操作GroupDocs.合并云API。在
要求
Python 2.7或3.4+
安装
pip install groupdocs-merger-cloud
或克隆存储库并通过Setuptools安装:
^{pr2}$入门
请按照installation procedure操作,然后运行以下命令:
# Import moduleimportgroupdocs_merger_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_merger_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_merger_cloud.ApiExceptionase:print("Exception when calling get_supported_file_formats: {0}".format(e.message))
许可
在GroupDocs.合并云Python SDK在MIT License下授权。在
资源
联系我们
你的反馈对我们很重要。请随时使用我们的Support Forums与我们联系。在
- 项目
标签: