mtokar3v / ReversoAPI-NET

🌐 An API Client for the reverso.net, written in C#/.NET (Based on Site API and HTML parsing)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License ReversoAPI NuGET NuGet Downloads

What's this?

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.

Features

  • βœ… 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

Getting Started

Installation

To install the ReversoAPI library, you can use the NuGet package manager or download the package directly from the NuGet website.

Usage

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.

Docs

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.

License

This library is distributed under the MIT license. See the LICENSE file for more information.

About

🌐 An API Client for the reverso.net, written in C#/.NET (Based on Site API and HTML parsing)

License:MIT License


Languages

Language:HTML 82.0%Language:C# 18.0%