Create cross-platform data science, AI, and automation solutions in Python based on GroupDocs.Rewriter API. Focus on business logic rather than the technical details.
Start Free TrialGroupDocs.Rewriter is an easy-to-use and versatile online service for rephrasing the texts with full preservation of the meaning. Its advanced AI reads and understands the text and then rephrases it in various wordings, providing a plagiarism-free result without losing the original meaning. While the background process is very complex and resource-intensive, you do not have to worry about formulas, machine learning, and load – our cloud services do all the work.
This SDK greatly simplifies the interaction with GroupDocs.Rewriter Cloud services from Python code, allowing you to focus on business logic rather than the technical details. It handles all the routine operations such as establishing connections, sending API requests, and parsing responses, wrapping all these tasks into a few simple methods that can be used in any Python application or workbook. The Python SDK, demo applications, documentation, and examples are open source distributed under the MIT license. You can use them for any purpose and change any part of the code.
GroupDocs.Rewriter Cloud API for Python comes with detailed developer guides and live code examples for all major programming languages to start working with API features in no time. Simply create a free account at GroupDocs Cloud, get APP SID & Key information to communicate with GroupDocs Cloud API and you are ready to use the SDK.
//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
public FileResponse RewriteDocument(Configuration conf)
{
string name = "test.docx";
string folder = "";
string language = "en";
string format = "docx";
string storage = "First Storage";
string saveFile = "translation.docx";
string savePath = "";
RewriterApi api = new RewriterApi(conf);
RewriteDocumentRequest request = api.CreateDocumentRequest(name, folder, language, format, storage, saveFile, savePath, masters, elements);
FileResponse response = api.RunRewritingTask(request);
return response;
}
GroupDocs.Rewriter Cloud is a REST based API that can easily be integrated with any language or platform, capable to manage HTTP requests and responses. It supports all popular cloud storage services such as Google Cloud, Drive, DropBox and Amazon S3 to interact without any dependencies.
//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
public TextResponse TranslateText(Configuration conf)
{
string language = "en";
string text = "The client’s mission is to make the world a healthier place and to make traveling and visiting public places safer and more comfortable for people.";
RewriterApi api = new RewriterApi(conf);
RewriteTextRequest request = api.CreateTextRequest(language, text);
TextResponse response = api.RunRewritingTextTask(request);
return response;
}
The GroupDocs.Rewriter Cloud API is SSL secured and the authentication requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.