DRAE-API
1.0.0
dotnet add package DRAE-API --version 1.0.0
NuGet\Install-Package DRAE-API -Version 1.0.0
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="DRAE-API" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DRAE-API --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DRAE-API, 1.0.0"
#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.
// Install DRAE-API as a Cake Addin
#addin nuget:?package=DRAE-API&version=1.0.0
// Install DRAE-API as a Cake Tool
#tool nuget:?package=DRAE-API&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DRAE-API
A simple API of Diccionario de la lengua española (DRAE) generated by web scraping from https://dle.rae.es/ and https://www.listapalabras.com/
Usage
Get Definitions of Words
Get the definitions of words using the static method GetWordMeaning
using System;
using System.Linq;
using DRAE_API;
namespace testConsole
{
class Program
{
static void Main(string[] args)
{
var entry = WebScraper.GetWordMeaning("estado");
foreach (var definition in entry.Definitions)
Console.WriteLine(definition);
}
}
}
Get List of Words in DRAE-API
Get a List<String> of all words from DRAE using the static method GetAllWordsFromDRAE
using System;
using System.Linq;
using DRAE_API;
namespace testConsole
{
class Program
{
static void Main(string[] args)
{
var entry = WebScraper.GetAllWordsFromDRAE();
foreach (var word in entry)
Console.WriteLine(word);
#Can be limited by getting all words that start with parametrized character
var entry2 = WebScraper.GetAllWordsFromDRAE("A");
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- HtmlAgilityPack (>= 1.11.24)
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.0 | 443 | 8/31/2020 |