ion232 / lichess-api Goto Github PK
View Code? Open in Web Editor NEWA Rust API client for lichess.org
Home Page: https://lichess.org/api
License: Apache License 2.0
A Rust API client for lichess.org
Home Page: https://lichess.org/api
License: Apache License 2.0
Add support for the Relations endpoints.
Path | Method | Status |
---|---|---|
/api/rel/following | GET | ❌ |
/api/rel/follow/{username} | POST | ❌ |
/api/rel/unfollow/{username} | POST | ❌ |
Add support for the Opening Explorer endpoints.
Path | Method | Status |
---|---|---|
/masters | GET | ❌ |
/lichess | GET | ❌ |
/player | GET | ❌ |
/master/pgn/{gameId} | GET | ❌ |
Add support for the External Engine 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 | ❌ |
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.
Path | Method | Status |
---|---|---|
/standard | GET | ✅ |
/atomic | GET | ✅ |
/antichess | GET | ✅ |
Add support for the Bulk Pairings endpoints.
Path | Method | Status |
---|---|---|
/api/bulk-pairing | GET | ❌ |
/api/bulk-pairing | POST | ❌ |
/api/bulk-pairing/{id}/start-clocks | POST | ❌ |
/api/bulk-pairing/{id} | DELETE | ❌ |
Add support for the broadcasts 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 | ❌ |
Add support for the OAuth endpoints.
Path | Method | Status |
---|---|---|
/oauth | GET | ❌ |
/api/token | POST | ❌ |
/api/token | DELETE | ❌ |
/api/token/test | POST | ❌ |
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.
Add support for the TV endpoints.
Path | Method | Status |
---|---|---|
/api/tv/channels | GET | ❌ |
/api/tv/feed | GET | ❌ |
/api/tv/{channel} | GET | ❌ |
Add support for the Studies 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 | ❌ |
Add support for the Swiss Tournaments 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 | ❌ |
Add support for the Arena Tournaments 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 | ❌ |
Add support for the Teams 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 | ❌ |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.