You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

YaDictionarySDK

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

YaDictionarySDK

C# library for Yandex.Dictionary API

1.0.6
nugetNuGet
Version published
Maintainers
1
Created
Source

YaDictionarySDK

YaDictionarySDK is a .NETStandard2.0 C# library which provides access for Yandex Dictionary API:

https://yandex.com/dev/dictionary/

This project includes C# library with methods for Yandex Dictionary API and unit tests for this code.

How to use

var yaSdk = new YaDictionary(apiKey);
var languages = await yaSdk.GetLanguagesAsync();
    
string languagePair = "de-ru";
string wordToTranslate = "Traum";
var translation = await yaSdk.GetTranslationAsync(wordToTranslate, languagePair);

Prerequisites

Requires .NET Core, .NetStandard. HttpClient was used in this library. The Api key for tests should be placed into environment variable with name "YA_DICTIONARY_API_KEY".

Terms of Use

As decribed in the Terms of Use for Yandex Dictionary service the following text: “Powered by Yandex.Dictionary” with the clickable hyperlink to the page http://api.yandex.com/dictionary must be shown strictly over or under the dictionary articles.

Keywords

yandex

FAQs

Package last updated on 05 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts