Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
InstallationThe package is available at nuget.org and it can be installed via package manager console by executing following command:PM> NuGet\Install-Package GroupDocs.Rewriter-Cloud
The package is available at nuget.org and it can be installed via package manager console by executing following command:
PM> NuGet\Install-Package GroupDocs.Rewriter-Cloud
Our API is completely independent of your operating system, database system, or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone, and time-consuming. Therefore, we provide and support SDKs in many development languages to make it easier for your Cloud Apps to integrate with us.
It is easy to get started with GroupDocs.Rewriter Cloud. Simply, create an account at GroupDocs Cloud and get your application information, then you are ready to use the SDKs.
using GroupDocs.Rewriter.Cloud.Sdk.Api; using GroupDocs.Rewriter.Cloud.Sdk.Client; using GroupDocs.Rewriter.Cloud.Sdk.Client.Auth; using GroupDocs.Rewriter.Cloud.Sdk.Model; using Configuration = GroupDocs.Rewriter.Cloud.Sdk.Client.Configuration; using System.Diagnostics; using System.IO; using System.Collections.Generic; using System.Net.Http; using HttpStatusCode = System.Net.HttpStatusCode; namespace GroupDocs.Rewriter.Cloud.Sdk { public class TextRewriter { public TextRewriter() { Configuration config = new Configuration(); config.OAuthFlow = OAuthFlow.APPLICATION; config.OAuthClientId = "YOU_CLIENT_ID"; config.OAuthClientSecret = "YOU_CLIENT_SECRET"; config.BasePath = "https://api.groupdocs.cloud/v2.0/rewriter"; ParaphraseApi api = new ParaphraseApi(conf); string srcText = "Hello, everyone! We will try to rephrase this text into something new."; string sourceLanguage = "en"; ParaphraseTextResponse textResponse = new ParaphraseTextResponse(); ParaphraseTextRequest req = new ParaphraseTextRequest( language: sourceLanguage, text: srcText, suggestions: ParaphraseTextRequest.SuggestionsEnum.One, diversityDegree: DegreeEnum.Off); StatusResponse responseId = await api.ParaphraseTextPostAsync(req); try { if (responseId.Status.ToString() == "Accepted") { while (true) { textResponse = await api.ParaphraseTextRequestIdGetAsync(responseId.Id); if ((HttpStatusCode)textResponse.Status == HttpStatusCode.OK) { Console.WriteLine("Plain text paraphrasing: " + textResponse.ParaphraseReult); break; } else Thread.Sleep(200); } } else { textResponse = new ParaphraseTextResponse() { Status = responseId.Status, Message = responseId.Message }; Console.WriteLine("Text error: " + textResponse.Message); } } catch (Exception ex) { Console.WriteLine("Text exception: " + ex.ToString()); } } } }