Retrieve data from chess website
Project detail
I wish to extract data on chess games from lichess.org. I want to be able to retrieve all the games for thousands of individual players. Here are some of the results for one example player: https://lichess.org/@/penguingim1/all However, I want to be able to have data on all games from a random sample of approximately 1000 players. I believe the lichess API may help in this regard: https://lichess.org/api
The information I need for each game would be:
– player
– opponent
– who was white
– who was black
– result (white win, black win, tie)
– time controls for game (e.g. 3+2, blitz, rapid, bullet, custom, 1/2 atomic etc.)
– white rating
– black rating
– date of game (or at least order of game in player’s history).
I’m ok with the code being written in any language. Ideally python or R, but I can work with other languages.