Git Product home page Git Product logo

chess-insights's Introduction

img img

Chess Insights is a tool that uses the chess.com api to export all user data to a csv file. It also has home data visualization tools that are still a work in progress. Some data points might not be available depending on your account type, account creation date or the API simply not publishing said data. For example game accuracy evaluations will only be available to games you have analyzed and individual move evaluations such as brilliant or blunder are not made public.

Ignored game modes

The only game modes fetched from the api are bullet, blitz, rapid, and daily.

The following are ignored

  • bughouse
  • crazyhouse
  • threecheck
  • chess960
  • kingofthehill

Available data

These are the column names of the csv file export and some notes if about the data contained

Column Name Data Description
userAccuracy chess.com evaluation of users moves
opponentAccuracy chess.com evaluation of opponents moves
gameUrl Link to game on chess.com
gameId Last digits at the end of the game url
timeClass "rapid", "blitz", "daily", or "bullet"
fen The final layout of the board
userColor White or Black
userRating User ELO during the game
opponent Username of opponent
opponentRating Opponent ELO during the game
opponentUrl Link to opponents profile on chess.com
result "checkmated", "win", "stalemate", "timeout" etc..
date YYYY.MM.DD
openingUrl Link to chess.com lesson on the opening
opening Name of opening
startTime 24 Hour clock: HH:MM:SS
endTime 24 Hour clock: HH:MM:SS
pgn Portable Game Notation string of the game

API Endpoints

I'm unaware of any rate limits to the API but will be implementing measures to reduce the amount of unnecessary requests made.

User Stats

https://api.chess.com/pub/player/{username}/stats

Game archives by month

https://api.chess.com/pub/player/{username}/games/archives

Game month archives

https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}

chess-insights's People

Contributors

notjoemartinez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.