We are working exactly according to our plans to provide GroupDocs.Viewer Cloud SDKs for different platforms, In this regard we are glad to inform you about another SDK release, GroupDocs.Viewer Cloud SDK for Python. This SDK provides a complete solution to consume GroupDocs.Viewer Cloud API in Python to render supported documents in the cloud seamlessly. GroupDocs.Viewer Cloud is REST API which supports a variety of document formats like PDF, Words, Spreadsheet, Presentation, Images, CAD and many more. It allows to render supported documents in HTML or image for the whole document, page by page or custom range of pages. It provides some other exciting features like watermarking , document transformation (Rotate, Reorder and font resources. Please click here for further details. GroupDocs.Viewer Cloud SDK for Python has been developed to help you integrate all these features in your Python based application without any hassle.
GroupDocs.Viewer Cloud SDK for Python - Introduction
GroupDocs.Viewer Cloud SDK for Python is introduced for its Python developers. It is a wrapper around REST APIs, that allows you to work with GroupDocs.Viewer Cloud REST APIs in Python based platform quickly and easily, gaining all benefits of strong types and IDE highlights. The distribution is available at GitHub.
GroupDocs.Viewer Cloud SDK for Python - Examples
GroupDocs.Viewer Cloud SDK for Python Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the GroupDocs.Viewer Cloud REST API. Please see the SDK examples of following categories.
- Supported File Formats
- Working with Attachments
- Document Information
- Working With Document Pages
- Page Resources
- Fonts Resource
- PDF Rendering
- Email Rendering
InstallationGroupDocs.Viewer
Cloud SDK for Python is also available as released package in the PyPI (Python Package Index). You can bypass source code repository and depend directly on the released package by installing from PyPI:
pip install groupdocs-viewer-cloud
Data
In order to render any supported files, you first need to upload them to the GroupDocs cloud storage or 3rd party cloud storage to use GroupDocs.Viewer Cloud API.
Getting Started
Once you are done with installation of package and dependencies in your project, You can easily call the API in your Python based code to consume the API features. Here is the sample code to demonstrate the working of GroupDocs.Vewer Cloud API using Python SDK. Please follow the installation procedure and then run the following Python code:
# Import module
import groupdocs_viewer_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_viewer_cloud.ViewerApi.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_viewer_cloud.ApiException as e:
print("Exception when calling get_supported_file_formats: {0}".format(e.message))
GroupDocs.Viewer Cloud Resources
Following are the links to some useful resources you may need to accomplish your tasks.
- GroupDocs.Viewer Cloud
- GroupDocs.Viewer Cloud Online Documentation
- GroupDocs.Viewer Cloud UI Help Topics
- GroupDocs.Viewer Cloud Forum
- Web API Explorer(Live Examples)
- GroupDocs.Viewer Cloud SDKs
- Work with GroupDocs Cloud Storage using Web GUI
- Work with GroupDocs Usage and Logs using Web GUI
Start a Free Trial Today
Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.