GlucoPilot.LibreLinkClient 0.0.8

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package GlucoPilot.LibreLinkClient --version 0.0.8
                    
NuGet\Install-Package GlucoPilot.LibreLinkClient -Version 0.0.8
                    
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="GlucoPilot.LibreLinkClient" Version="0.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GlucoPilot.LibreLinkClient" Version="0.0.8" />
                    
Directory.Packages.props
<PackageReference Include="GlucoPilot.LibreLinkClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GlucoPilot.LibreLinkClient --version 0.0.8
                    
#r "nuget: GlucoPilot.LibreLinkClient, 0.0.8"
                    
#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.
#:package GlucoPilot.LibreLinkClient@0.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GlucoPilot.LibreLinkClient&version=0.0.8
                    
Install as a Cake Addin
#tool nuget:?package=GlucoPilot.LibreLinkClient&version=0.0.8
                    
Install as a Cake Tool

GlucoPilot.LibreLinkClient

The C# client library for accessing LibreLink data.

Usage

Register the client with:

// Add the LibreLinkClient and required services to DI.
services.AddLibreLinkClient(configuration.GetSection("LibreLink"));

Before making any requests to LibreLink, you must first authenticate the client. Failure to authenticate before a request will result in a LibreLinkNotAuthenticatedException exception.

Authentication is maintained for the lifetime of the client and when authentication expires, a LibreLinkAuthenticationExpiredException is thrown when attempting to call the client.

There are two methods of authenticating:

Username and Password

When using a username and password, the request is sent to LibreLink to authenticate and an auth ticket is returned.

// Authenticate with username and password.
_ = await libreLinkClient.LoginAsync("username", "password");

This auth ticket should then be stored and re-used with the auth ticket authentication method so you do not need to continually ask for a username and password.

Auth Ticket

Once authenticated with a username and password, the client returns an auth ticket which can be stored and re-used to authenticate the client.

// Authenticate with username and password.
var authTicket = await libreLinkClient.LoginAsync("username", "password");
// Store the auth ticket somewhere.
store.SaveTicket("username", authTicket);

// ...

// Load the stored auth ticket.
var authTicket = store.LoadTicket("username");
// Authenticate with the previous auth ticket.
await libreLinkClient.LoginAsync(authTicket);

If the auth ticket used to authenticate has expired, a LibreLinkAuthenticationExpiredException will be thrown.

Note: The auth ticket contains a long-lived access token that enables users to access LibreLink data. This data should be treated a sensitive and stored as such.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.0.9-preview100 102 4/24/2026
0.0.8 114 4/17/2026
0.0.8-preview900 104 3/23/2026
0.0.8-preview800 107 3/14/2026
0.0.8-preview700 108 3/2/2026
0.0.8-preview600 104 3/2/2026
0.0.8-preview500 112 2/28/2026
0.0.8-preview400 113 2/10/2026
0.0.8-preview300 108 2/9/2026
0.0.8-preview200 114 2/8/2026
0.0.8-preview100 192 10/23/2025
0.0.7 200 10/9/2025
0.0.6 200 10/9/2025
0.0.6-preview900 184 10/9/2025
0.0.6-preview800 191 10/2/2025
0.0.6-preview700 195 9/25/2025
0.0.6-preview600 211 9/20/2025
0.0.6-preview500 226 9/20/2025
0.0.6-preview400 270 9/19/2025
0.0.6-preview300 167 9/13/2025
Loading failed