This is an open source API client for the Reverso.net, which offers a comprehensive set of language processing tools, including translation, grammar checking, verb conjugation, context finding, synonym discovery, and text-to-speech pronunciation. By leveraging the Reverso site API and parsing HTML, it provides an easy-to-use interface for .NET-based languages like C# and VisualBasic .NET.
- β
Complete Reverso.net functionality:
Translation
Grammar checking
Verb conjugation
Context finding
Synonym discovery
Text-to-speech pronunciation
- β Built on .NET Standard, supporting multiple platforms
- β Included HTTPClient, but feel free to bring your own!
- β Logging supported
- β Retry Handlers supported
- β Modular structure for easy unit testing and customization
To install the ReversoAPI library, you can use the NuGet package manager or download the package directly from the NuGet website.
To get started with the ReversoAPI library, you can use the following code snippet:
using System;
using System.Linq;
using System.Threading.Tasks;
using ReversoAPI;
class Program
{
static async Task Main()
{
var reverso = new ReversoClient();
var translation = await reverso.Translation.GetAsync("run", Language.English, Language.Russian);
Console.WriteLine(translation.Translations.First().Value);
}
}
More examples can be found in the ReversoAPI.Web.Examples directory.
Documentation for using this library can be found in the ReversoAPI.Docs. In this folder, you'll find a variety of resources, including API reference documentation, code examples, and tutorials to help you get started with using the library in your project.
If you have any questions or issues with the library, please don't hesitate to open an issue on the repository or reach out to the project maintainers for assistance.
This library is distributed under the MIT license. See the LICENSE file for more information.