https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-python
Python SDK for communicating with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats in the Cloud.
https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-python
cloud-sdk conversion-cloud-api convert-files djvu excel html image pdf powerpoint pypi pypi-package python word xps
Last synced: 11 months ago
JSON representation
Python SDK for communicating with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats in the Cloud.
- Host: GitHub
- URL: https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-python
- Owner: groupdocs-conversion-cloud
- License: mit
- Created: 2019-04-05T06:13:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T07:54:15.000Z (12 months ago)
- Last Synced: 2025-04-11T18:24:15.853Z (11 months ago)
- Topics: cloud-sdk, conversion-cloud-api, convert-files, djvu, excel, html, image, pdf, powerpoint, pypi, pypi-package, python, word, xps
- Language: Python
- Homepage: https://products.groupdocs.cloud/conversion/python
- Size: 1.02 MB
- Stars: 8
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://pypi.org/project/pip/) from [PyPI](https://pypi.org/) by:
```sh
pip install groupdocs-conversion-cloud
```
Or clone repository and install it via [Setuptools](http://pypi.python.org/pypi/setuptools):
```sh
python setup.py install
```
## Getting Started
Please follow the [installation procedure](#installation) and then run following:
```python
# 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](http://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-python/LICENSE).
## Resources
+ [**Website**](https://www.groupdocs.cloud)
+ [**Product Home**](https://products.groupdocs.cloud/conversion)
+ [**Documentation**](https://docs.groupdocs.cloud/display/conversioncloud/Home)
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
+ [**Blog**](https://blog.groupdocs.cloud/category/conversion)
## Contact Us
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).