#API for getting game winners?

16 messages · Page 1 of 1 (latest)

bronze wadi
#

Hi everyone,
Is it possible if I build something where someone enters my app, uses lichess environment to play a chess game, and I can just extract details on who won & lost the game?

If I need to elaborate on this let me know

spare vine
#

#1023953569071779860 ?

#

If it's a pure API question not related to your app use #1023953569071779860

#

Else please provide a bit more detail about your app like what is "Lichess environment" ???

bronze wadi
#

So it's basically where on my website, I would click on a link that would take me to the lichess website. I could play the standard 10 min rapid chess game. After the chess game ends, the winner and loser of the round is recorded. I would be redirected back to my website with record of who won and lost the chess game (or if it was a draw).

All I need is a way to enable to users to play chess and for me to record who won & lost the match. I don't even want the user's to have to make a lichess account to play. All I want is a basic chessboard that 2 people can play with. Like have you seen the coolmath chess game? That's literally all I need lol. How do I work the apis to make this happen

#

Wait I also need something that tells me who won or lost the chess game but beyond that there is not much more I'm looking for

bronze wadi
spare vine
#

You don't need a fork, the API is enough

#

#1023953569071779860 but you must know programming.

bronze wadi
#

@spare vine Do you know how to build something like the chess game on coolmath using the apis in the documentation?

spare vine
bronze wadi
#

Ok then, I will just use the APIs

As mentioned I need a functionality where from my 3rd party app, two players would play chess in the lichess server and I would get info on who won/lost/draw. How would I use the APIs? I read through the docs and I can't figure it out at the moment?

#

@spare vine

spare vine
#

Learn programming and search by yourself.

bronze wadi
#

Sorry, I'm a bit inexperienced in using APIs, let alone for lichess so that's why I ask