LibLab 1.0.1
dotnet add package LibLab --version 1.0.1
NuGet\Install-Package LibLab -Version 1.0.1
<PackageReference Include="LibLab" Version="1.0.1" />
<PackageVersion Include="LibLab" Version="1.0.1" />
<PackageReference Include="LibLab" />
paket add LibLab --version 1.0.1
#r "nuget: LibLab, 1.0.1"
#:package LibLab@1.0.1
#addin nuget:?package=LibLab&version=1.0.1
#tool nuget:?package=LibLab&version=1.0.1
Lord of the Rings SDK
Getting Started
These instructions will get you the binaries of the project up and running on your local machine for development and testing purposes.
Prerequisites
The project is written in C#. Be sure you are using an IDE that will work with C#. The SDK is using .NET 8.0 as the .NET SDK.
Installing
To install the SDK, use Nuget.org and search for LibLab. Using Visual Studio, access the Nuget package by using the Nuget Package Manager or by using the Nuget CLI.
Package Manager Console
Install-package LibLab
.NET CLI Console
dotnet add package LibLab
Using LibLab
Before making any calls, the ClientOptions class object needs to be set. You need supply the BaseUrl and AccessKey variables.
var clientOptions = new ClientOptions
{
BaseUrl = "<your-base-url>",
AccessKey = "<your-access-key"
};
After this has been set, then you can start the 000 class object.
var client = new LordOfTheRings(clientOptions);
var results = await client.GetQuoteByIdAsync("<quote-id>");
if (results.Total != 0)
{
foreach (var quote in results?.Quotes)
{
Console.WriteLine($"Quote : {quote.Dialog}");
}
}
Filtering
The LibLab SDK allows you to use filters to extract only the data that you need. Here is an example of using a method and passing in a filter.
var options = new Options
{
Filters = new List<FilterCriteria>
{
new FilterCriteria
{
Operator = FilterOperator.Match,
PropertyName = PropertyName.MovieProperty.Name,
Value = "The Unexpected Journey"
}
}
};
// Act
var result = await client.GetAllMoviesAsync(options);
Authors
- Isaac Valles (isalles) - Code creator - Nuget.org/packages/LibLab
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
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 |
|---|
This is the initial package for LibLab SDK.