A minimal wrapper around the UrbanDictionary website.
Get the package from nuget: https://www.nuget.org/packages/Miki.UrbanDictionary
dotnet add package Miki.UrbanDictionary
The following code gets you the definition of our favourite idol: Miki!
using Miki.UrbanDictionary;
var urbanClient = new UrbanDictionaryApi();
var response = await urbanClient.SearchTermAsync("miki");
if(!response.Entries.Any()) {
throw new InvalidOperationException("no definition found for term!");
}
Console.WriteLine($"The definition for miki is: {response.Entries.First().Definition}!");