Skip to content

Dblike/LichessSharp

Repository files navigation

LichessSharp

A fully-featured .NET client library for the Lichess API.

NuGet Lichess API License: MIT

Installation

dotnet add package LichessSharp

Quick Start

using LichessSharp;

// Create a client (unauthenticated for public API)
using var client = new LichessClient();

// Or with an access token for authenticated endpoints
using var authenticatedClient = new LichessClient("your-access-token");

// Access different API areas
var user = await client.Users.GetAsync("DrNykterstein");
var game = await client.Games.GetAsync("q7ZvsdUF");
var puzzle = await client.Puzzles.GetDailyAsync();

Documentation

Full Documentation - Installation, configuration, and usage guides

Samples

Sample Description
LichessSharp.Samples Interactive demos covering all API areas
LichessSharp.SimpleBot Complete bot implementation
LichessSharp.PuzzleSolver Puzzle dashboard and solver CLI
LichessSharp.GameArchiver Export games to PGN files
LichessSharp.TvViewer Live TV streaming viewer
LichessSharp.UserStats Player statistics tool
LichessSharp.PositionAnalyzer Position analysis with cloud eval, opening explorer, tablebase

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details.

Links

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages