Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 2.17 KB

File metadata and controls

62 lines (42 loc) · 2.17 KB

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