Lichess is a free and open-source Internet chess server run by a non-profit organization of the same name. This project implements a .Net client for the Lichess Api.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
LichessApi was originally started to be utilized to create a chess league manager that could create team vs team pairings. It is worth noting that there is additionally an OAuth Asp.net provider that I have written over on the third-party https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers project that can be utilized in conjunction with this client.
-
Easy integration with OAuth2
-
Token Auth session compatible
-
Well-typed data structures for all responses and requests
LichessApi is an API client library for .NET and is available on NuGet (IN PROGRESS):
Install-Package LichessApi.Web
using System;
using LichessApi.Web;
class Program
{
static async Task Main()
{
var client = new LichessApiClient("YourAccessToken");
var email = await client.Account.GetEmailAddress();
Console.WriteLine(email);
}
}
More examples can be found in the LichessApi.Web.Examples
directory.
The following Api areas have been completed so far:
- Authentication
- Account
- Users
- Relations
- Games
- Puzzles
- Teams
- Board
- Bot
- Bulk Pairings
- Challenges
- Arena Tournaments
- Swiss Tournaments
- Simuls
- Studies
- Messaging
- Broadcasts
- Analysis
- Opening Explorer
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Michael Tanczos
Project Link: https://github.com/tanczosm/LichessApi