Code Monkey home page Code Monkey logo

lichess-api's Introduction

General Metrics Achievement Metrics

lichess-api's People

Contributors

ion232 avatar joshka avatar yzoug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yzoug joshka

lichess-api's Issues

Category: Relations

Overview

Add support for the Relations endpoints.

Endpoints

Path Method Status
/api/rel/following GET
/api/rel/follow/{username} POST
/api/rel/unfollow/{username} POST

Category: External Engine

Overview

Add support for the External Engine endpoints.

Endpoints

Path Method Status
/api/external-engine GET
/api/external-engine POST
/api/external-engine/{id} GET
/api/external-engine/{id} PUT
/api/external-engine/{id} DELETE
/api/external-engine/{id}/analyse POST
/api/external-engine/work POST
/api/external-engine/work/{id} POST

Category: Tablebase

Overview

Add support for the Tablebase endpoints.

Note: This will require supporting a different base url (https://tablebase.lichess.ovh). I think this should be relatively simple, but the ideal solution should be as localised as possible.

Endpoints

Path Method Status
/standard GET
/atomic GET
/antichess GET

Category: Bulk Pairings

Overview

Add support for the Bulk Pairings endpoints.

Endpoints

Path Method Status
/api/bulk-pairing GET
/api/bulk-pairing POST
/api/bulk-pairing/{id}/start-clocks POST
/api/bulk-pairing/{id} DELETE

Category: Broadcasts

Overview

Add support for the broadcasts endpoints.

Endpoints

Path Method Status
/api/broadcast GET
/broadcast/new POST
/broadcast/{slug}/{broadcastTournamentId} GET
/broadcast/{broadcastTournamentId}/edit POST
/broadcast/{broadcastTournamentId}/new POST
/api/broadcast/{broadcastTournamentSlug}/{broadcastRoundSlug}/{broadcastRoundId} GET
/broadcast/round/{broadcastRoundId}/edit POST
/broadcast/round/{broadcastRoundId}/push POST
/api/stream/broadcast/round/{broadcastRoundId}.pgn GET
/api/broadcast/round/{broadcastRoundId}.pgn GET
/api/broadcast/{broadcastTournamentId}.pgn GET
/api/broadcast/my-rounds GET

Category: OAuth

Overview

Add support for the OAuth endpoints.

Endpoints

Path Method Status
/oauth GET
/api/token POST
/api/token DELETE
/api/token/test POST

Expose the headers for failing requests

It took a lot of digging to work out exactly where to place a debug statement (as there's a bunch of ways that an API call can fail at. I needed the headers to help diagnose an auth failure (turns out I accidentally missed a required scope in a token and the "Missing scope" error was not specific enough to work out which one).

I'd like to suggest that when there's an error, the headers and status message are available in the error response somehow. I'm not sure exactly how this would work / whether it's possible, but it would be helpful for diagnosing failures like this.

Category: TV

Overview

Add support for the TV endpoints.

Endpoints

Path Method Status
/api/tv/channels GET
/api/tv/feed GET
/api/tv/{channel} GET

Category: Studies

Overview

Add support for the Studies endpoints.

Endpoints

Path Method Status
/api/study/{studyId}/{chapterId}.pgn GET
/api/study/{studyId}.pgn GET
/api/study/{studyId}.pgn HEAD
/api/study/{studyId}/import-pgn POST
/study/by/{username}/export.pgn GET
/api/study/by/{username} GET

Category: Swiss Tournaments

Overview

Add support for the Swiss Tournaments endpoints.

Endpoints

Path Method Status
/api/swiss/new/{teamId} POST
/api/swiss/{id} GET
/api/swiss/{id}/edit POST
/api/swiss/{id}/schedule-next-round POST
/api/swiss/{id}/join POST
/api/swiss/{id}/withdraw POST
/api/swiss/{id}/terminate POST
/swiss/{id}.trf GET
/api/swiss/{id}/games GET
/api/swiss/{id}/results GET
/api/team/{teamId}/swiss GET

Category: Arena Tournaments

Overview

Add support for the Arena Tournaments endpoints.

Endpoints

Path Method Status
/api/tournament GET
/api/tournament POST
/api/tournament/{id} GET
/api/tournament/{id} POST
/api/tournament/{id}/join POST
/api/tournament/{id}/withdraw POST
/api/tournament/{id}/terminate POST
/api/tournament/team-battle/{id} POST
/api/tournament/{id}/games GET
/api/tournament/{id}/results GET
/api/tournament/{id}/teams GET
/api/user/{username}/tournament/created GET
/api/team/{teamId}/arena GET

Category: Teams

Overview

Add support for the Teams endpoints.

Endpoints

Path Method Status
/api/team/{teamId}/swiss GET
/api/team/{teamId} GET
/api/team/all GET
/api/team/of/{username} GET
/api/team/search GET
/api/team/{teamId}/users GET
/api/team/{teamId}/arena GET
/team/{teamId}/join POST
/team/{teamId}/quit POST
/api/team/{teamId}/requests GET
/api/team/{teamId}/request/{userId}/accept POST
/api/team/{teamId}/request/{userId}/decline POST
/api/team/{teamId}/kick/{userId} POST
/team/{teamId}/pm-all POST

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.