- Blind mode tutorial
lichess.org
Donate

Feature request: manual scheduling

OK, here is one way to do it:

Step 1: Generate an authorization token: https://lichess.org/account/oauth/token (with "Create, accept, decline challenges" enabled)

Step 2: from a command line terminal, run -

curl 'https://lichess.org/api/challenge/USERNAME_TO_CHALLENGE ' -H 'Authorization: Bearer TOKEN_FROM_STEP_1' -X POST -d 'rated=true&color=white&clock.limit=1800&clock.increment=5'

This should play nicely with creating custom challenge buttons. The "challenger" appears to default to whichever user is currently logged in.

OK, here is one way to do it: Step 1: Generate an authorization token: https://lichess.org/account/oauth/token (with "Create, accept, decline challenges" enabled) Step 2: from a command line terminal, run - curl 'https://lichess.org/api/challenge/USERNAME_TO_CHALLENGE ' -H 'Authorization: Bearer TOKEN_FROM_STEP_1' -X POST -d 'rated=true&color=white&clock.limit=1800&clock.increment=5' This should play nicely with creating custom challenge buttons. The "challenger" appears to default to whichever user is currently logged in.

Hmm, looks like I was not quite correct - the challenger is the owner of the token...

Hmm, looks like I was not quite correct - the challenger is the owner of the token...

Well, that again is a step forward. Ideally of course, as a "TD", I would like to send player X a link/POST to challenge player Y with white et cetera. But maybe this makes it all easier to implement!

Well, that again is a step forward. Ideally of course, as a "TD", I would like to send player X a link/POST to challenge player Y with white et cetera. But maybe this makes it all easier to implement!

@Toadofsky this is almost exactly my current approach. I asked for people’s tokens, then ran an experimental single-round G/30 scholastic event entirely with curl POST calls to create the games on behalf of kids, and it worked. It’s pretty raw, but functional. For swiss or RR tournaments, it’s not much of a solution - need to still auto process results, add a wall chart page, and there is the lack of a common chat room for participants...

@Toadofsky this is almost exactly my current approach. I asked for people’s tokens, then ran an experimental single-round G/30 scholastic event entirely with curl POST calls to create the games on behalf of kids, and it worked. It’s pretty raw, but functional. For swiss or RR tournaments, it’s not much of a solution - need to still auto process results, add a wall chart page, and there is the lack of a common chat room for participants...

This topic has been archived and can no longer be replied to.