YaDictionarySDKNetFramework 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package YaDictionarySDKNetFramework --version 1.0.3
                    
NuGet\Install-Package YaDictionarySDKNetFramework -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YaDictionarySDKNetFramework" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YaDictionarySDKNetFramework" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="YaDictionarySDKNetFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YaDictionarySDKNetFramework --version 1.0.3
                    
#r "nuget: YaDictionarySDKNetFramework, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package YaDictionarySDKNetFramework@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YaDictionarySDKNetFramework&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=YaDictionarySDKNetFramework&version=1.0.3
                    
Install as a Cake Tool

YaDictionarySDK

YaDictionarySDK is a .NET Framework 4.5 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 Framework 4.5. 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 <a href="https://yandex.com/legal/dictionary_api/">Terms of Use for Yandex Dictionary service</a> 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.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Interfaces for response data were added. Framework build was fixed.