OxfordDictionaryApiDotNet 1.0.2
dotnet add package OxfordDictionaryApiDotNet --version 1.0.2
NuGet\Install-Package OxfordDictionaryApiDotNet -Version 1.0.2
<PackageReference Include="OxfordDictionaryApiDotNet" Version="1.0.2" />
paket add OxfordDictionaryApiDotNet --version 1.0.2
#r "nuget: OxfordDictionaryApiDotNet, 1.0.2"
// Install OxfordDictionaryApiDotNet as a Cake Addin #addin nuget:?package=OxfordDictionaryApiDotNet&version=1.0.2 // Install OxfordDictionaryApiDotNet as a Cake Tool #tool nuget:?package=OxfordDictionaryApiDotNet&version=1.0.2
OxfordDictionariesDotNet
An unofficial wrapper for the Oxford Languages API
It only takes a few lines of code to retrieve a definition:
- First, obtain your App Key and App Token from https://developer.oxforddictionaries.com/.
- Install the library using the Nuget Package Manager.
- Initialise the main client:
var config = new OxfordDictionaryClientConfig
{
AppKey = "yourAppKey",
AppToken = "yourAppToken"
};
var client = new OxfordDictionaryClient(config);
- Use the Entries client to fetch information about a word:
var entry = await client.EntriesClient.FindEntryAsync("entanglement");
- There are many things a word can return, but you can always use a helper method for convenience:
var definition = entry.FindFirstDefinition();
Understanding the Oxford Dictionaries API
Please note that this is not a straightforward, one-size-fits-all dictionary. A single entry can provide a wealth of data, which may initially seem confusing. While I have tried to provide some guidance in my XML comments, for a more in-depth understanding of how the Oxford Dictionaries API works, I recommend visiting their official documentation: https://developer.oxforddictionaries.com/documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 292 | 11/13/2023 |
Support nullability