C# Library to translate small texts via DeepL using RestSharp
string translatedText = DeeplRequest.CreateRequestSimple("Hallo", Language.German, Language.Italian);
//Result "ciao"
DeeplAnswer deeplAnswer = DeeplRequest.CreateRequest("Hallo", Language.German, Language.Italian);
string secondVariantOfTranslation = deeplAnswer.result.translations[0].beams[1].postprocessed_sentence;
//Result "saluto"
CreateRequest(string text, string sourceLanguage, string targetLanguage)
Returns a DeeplAnswer which can be used like an JSON object
CreateRequestSimple(string text, string sourceLanguage, string targetLanguage)
Returns the result as simple string
Main()
Debugging method, which starts an example in the console