MikaelDui.Liber.Onlinebok.Client 1.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package MikaelDui.Liber.Onlinebok.Client -Version 1.0.0
dotnet add package MikaelDui.Liber.Onlinebok.Client --version 1.0.0
<PackageReference Include="MikaelDui.Liber.Onlinebok.Client" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MikaelDui.Liber.Onlinebok.Client --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MikaelDui.Liber.Onlinebok.Client, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MikaelDui.Liber.Onlinebok.Client as a Cake Addin
#addin nuget:?package=MikaelDui.Liber.Onlinebok.Client&version=1.0.0

// Install MikaelDui.Liber.Onlinebok.Client as a Cake Tool
#tool nuget:?package=MikaelDui.Liber.Onlinebok.Client&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

To use the client you must have a valid document reference, token and cookies. These can be obtained by various means.

Example:

var client = LiberOnlinebokClient.From(ebookUri, cookieContainer);

You can then use the client to get the e-book document:

var document = await client.GetDocumentAsync();

... and the e-book assets:

var pageAssetUris = document.Content.ContentItems.Values.Select(val => val.Assets.First().Uri).ToArray();

var assetsClient = assetsClient = await client.GetAssetsClientAsync();

foreach (var assetUri in pageAssetUris)
{
    var ebookPage = await assetsClient.GetAssetAsync(assetUri);
}

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.8 14 1/13/2022
1.0.7 15 1/13/2022
1.0.6 16 1/11/2022
1.0.5 14 1/11/2022
1.0.4 16 1/10/2022
1.0.3 16 1/10/2022
1.0.2 14 1/10/2022
1.0.1 200 2/4/2021
1.0.1-alpha 95 2/4/2021
1.0.0 165 1/29/2021