{"id":27063826,"url":"https://github.com/rvalla/chessevolution","last_synced_at":"2025-10-23T23:46:26.861Z","repository":{"id":79185991,"uuid":"474734100","full_name":"rvalla/chessevolution","owner":"rvalla","description":"Some code to analyze my chess games using the Lichess API.","archived":false,"fork":false,"pushed_at":"2023-03-03T23:04:27.000Z","size":25381,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"themoststable","last_synced_at":"2025-10-23T23:46:26.126Z","etag":null,"topics":["chess","data-analysis","lichess","lichess-api","python"],"latest_commit_sha":null,"homepage":"https://rodrigovalla.gitlab.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvalla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-27T19:09:59.000Z","updated_at":"2023-02-18T08:34:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae04e87a-58de-4c2e-bbfc-d0c481649c0a","html_url":"https://github.com/rvalla/chessevolution","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rvalla/chessevolution","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvalla%2Fchessevolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvalla%2Fchessevolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvalla%2Fchessevolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvalla%2Fchessevolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvalla","download_url":"https://codeload.github.com/rvalla/chessevolution/tar.gz/refs/heads/themoststable","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvalla%2Fchessevolution/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280712961,"owners_count":26378085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess","data-analysis","lichess","lichess-api","python"],"created_at":"2025-04-05T16:35:13.447Z","updated_at":"2025-10-23T23:46:26.850Z","avatar_url":"https://github.com/rvalla.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Some analysis of Lichess data\n\nI am studying chess. I am reading some books and playing over the board, but most of the time\nI am playing, solving puzzles and analyzing games on [Lichess](https://lichess.org). At this moment\nthere are more than 8000 games on my history there. I decided to check some things using the\n[Lichess API](https://lichess.org/api). Perhaps this code can be useful for you too.  \n\n## running the code\n\nThe code will be always divided into scripts which obtain data from *Lichss API* (and save it to */data*) and\nscripts to plot different charts. So, if you run *player_games_charts.py* it will asume that there are *.csv*\nfiles in */data* and a player's *.json* file in */config*.  \nWhen you run *player_games_data.py* you need a *lichess.json* file in */config* which contains your api token.  \n\n### lichess file\n```\n{\n\t\"api_client\": \"berserk-downstream\",\n\t\"token\": \"No, I won't tell you my token.\",\n\t\"maxgames\": 10000\n}\n\n```\n\n### player's file\n```\n{\n\t\"name\": \"Rodrigo Valla\",\n\t\"username\": \"rvalla\",\n\t\"start_year\": 2021,\n\t\"start_month\": 9,\n\t\"start_day\": 1,\n\t\"end_year\": 2022,\n\t\"end_month\": 3,\n\t\"end_day\": 1,\n\t\"previous_data\" : true\n}\n\n```\n\n## standing upon the shoulders of giants\n\nThis little project is possible thanks to a lot of work done by others in the *open-source* community. Particularly in\nthis case I need to mention:\n\n- [**Lichess**](https://lichss.org): the best place to learn and play chess.  \n- [**Python**](https://www.python.org/): the programming language I used.  \n- [**Berserk**](https://github.com/ZackClements/berserk): the client I used to comunicate with *Lichess API*.  \n\nFeel free to contact me by [mail](mailto:rodrigovalla@protonmail.ch) or reach me in\n[telegram](https://t.me/rvalla) or [mastodon](https://fosstodon.org/@rvalla).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvalla%2Fchessevolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvalla%2Fchessevolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvalla%2Fchessevolution/lists"}