Check if you played against anyone on Lichess now marked as violating ToS or if they closed their account.
- Clone Repo
pip install -r requirements.txt
- https://lichess.org/account/oauth/token
- Read & Write preferences checked under 'User Account'
- Copy & paste this value in your .env file where 'api_key={Insert token here - remove brackets}' (paste after the = sign - no quotes needed)
- You can do this by creating a new python file:
import secrets
print(secrets.token_hex())
Run this and then copy & paste this value in your .env file where 'SECRET_KEY=" "' (paste value after = sign, in between the quotes)
- Navigate to http://127.0.0.1:5000 or http://localhost:5000/
- Enter your username or login through lichess ( login will greatly speed up the search)
- Enter an appropriate date range
- Enter # of games to check
- Click Analyze Games and then have some patience! :-)
- Lichess ToS:
https://lichess.org/terms-of-service
- If someone violated the ToS and then closed their account, they will show as Closed.
- lakinwecker for lichess-oauth-flask example