My three software developer colleagues and I are working on developing a turn-based game with logic similar to chess. We have some questions regarding the best way to store data, moves, and sessions. We believe that relational databases such as Oracle and MySQL might not be the best fit for our game's requirements. We are considering using MongoDB or Redis, but we are not fully aware of the advantages each might offer in this context. Could anyone provide advice on which database would be most suitable for our needs and in what scenarios each option excels?
scooter_de May 21, 2024
I've been discussing with bcurtis the possibility of extending the site's API into the area of vote chess. He explained to me that while there're no immediate resources & therefore plans to implement this idea, it would help if those of us who are keen to see this introduced drew up some form of definition. So if you have any suggestions as to what kind of data you'd like to be able to access from VC games, please post them below...
Qoiuoiuoiuoiu May 19, 2024
Hello! I am wondering if it's possible and allowed to extract in real time the move played by a chess.com user in a chess.com game and to paste it into, for instance, a word document or whatever.For example a player plays 1.e4 in a live game, and 1s later, the system writes somewhere "1.e4" Thank you!
I am looking for ways to bulk download game PGNs, but the closest thing I found is using the countries api to get 10k users per country and download all of their games using the player archive API. However this is absurdly slow and ideally I'd like to download several billion games. Am I missing some official way to do this? Does chess.com sell that kind of data for reasonable prices?
Possible to stream live chess games moves? I want to stream the game live on my dummy site and write down its last move played and the game state
Martin_Stahl May 17, 2024
As the title says - my watchOS app for reviewing your chess games - ChessBud - has just hit 500 downloads (551 now to be exact).https://apps.apple.com/ca/app/chessbud/id6474365238
knucklehe4d May 12, 2024
Hi everyone, I just recently started working with the Chess.com API, specifically gathering data for the 2024 Chess.com Daily Chess Championship daily tournament. The good part - the endpoint for the current round (https://api.chess.com/pub/tournament/2024-chess-com-daily-chess-championship/2) seems to be working, as well as many of the groups (same url with '/{group_number}' attached at the end). However, the tournament information endpoint (https://api.chess.com/pub/tournament/2024-chess-com-daily-chess-championship), the round 1 endpoint (https://api.chess.com/pub/tournament/2024-chess-com-daily-chess-championship/1), and the group endpoints for groups 1 through 10 are not working. (There are 505 groups in Round 2 and the rest are working). The tournament information endpoint returns this: {"status":"error","message":"Internal Server Error"} And the missing group endpoints return this: {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."} Any thoughts on why some of these errors might be occurring?
wild123_yaksi May 11, 2024
From what I remember in the past it used to update at midnight PST. However I noticed today it's still showing yesterday's puzzle and I don't know for how long the late updates have been going on. Just pointing it out hoping it can be fixed!
When I query the stats API I only get the highest and lowest tactics score. Is there another way to get the current score for tactics?
digama82 May 7, 2024
So as a little side project i want to create a website/script that would find out all the players you have played that have been banned for: fair_play_violations but the problem is the insane amount of api requests.First i would need to send a Request to find out all the monthly archives, then send a request to all those monthly archives. But now the problem is that i need to send a request to each of the user's opponents likehttps://api.chess.com/pub/player/yamato figure out if the opponent is banned.Which can add up to thousands or even hundreds of thousands of api requests. So what is the rate limit on the api? Im thinking of sending 5-10 requests per second so is that a good amount or bad amount?
Hello, This is very important as I give out awards based upon students' outcome ... Thus this is regarding puzzles ... Can you please fix this ASAP ...No person should be able to CHEAT Chess.Com ... it's too great of a site!Puzzle rating can be "cheated"!! A person can study a puzzle, and when they take a lot of time, they simply refresh the puzzle and the same one comes up and they do it in three seconds therein giving a high rating! You see if you take long to answer you only get so many points ... so the refresh looks as if you solve in micro seconds each time therein inflating a rating that should not be. Now mind you my students are so honest so great kids that words cannot describe them. However, they are kids and I am in tech as well so we always always learn some tech and share findings ... so this is a finding one of my students found. On another note Chess.com has not get back to me yet on another finding ... yet another loophole in passports ... you can query my request in forums and issues / bugs etc. but again there is an issue there to get fake passports by having a person change their flag and play them ... all in all I am an IT Director as well so finding issues is well fun and not fun ... but it's part of our life ... thus the kids are smart too and they know I like it when they find a new feature in chess.com or show me how to use a feature etc ... I have been teaching about the same 40 students and new ones for over five to six years ... so we do a lot together within a long duration of time ... thus again they are very very top of the line kids no cheat no silly stuff etc ... just pure sharp kids that we are and take chess and software seriously as you all too So please fix the puzzles ASAP "PLEASE" as the ratings are huge importance to us (and we should never have to tell a person dont do this or that as the software should not enable) Solution perhaps:If you refresh a puzzle then a new puzzle should come up ... simple fix ... the same puzzle should not come up ... and well if it does then the data should remain the same and keep counting time Please, Please this is not good ... I and many rely on puzzle ratings!Kindly update me ASAP pleaseThank you so much.
USA-Elephant Apr 26, 2024
It's not a big problem but recently getting internal errors from some end points This is an example. There have been others. https://api.chess.com/pub/player/sboorman/stats Valid member with available stats. {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Tricky_Dicky Apr 24, 2024
I cannot find an API that allows me to enter a player's name and have it return data containing the country they are from.. Any help is appreciated.
YankeeBastid Apr 19, 2024
I know that when a user does game review on their games on chess.com it shows the accuracy of the games in the api, but does it also show move classifications like inaccuracies, mistakes, blunders, etc?
Where can I find documentation on puzzle API's? like to fetch specific information about the puzzle, mainly the PGN of a puzzle
I was thinking on using this API to create a report of the strengths and weaknesses overall of my games (Maybe I can make this open source too) and I know it can't make moves but can it get game pgns?
hello, is there a way to generate games via API? I looked at it right now, but I wasn't able to, but are there future plans to include it? Also, what will be a work-around to this problem? Thanks
Martin_Stahl Apr 9, 2024
If you check out this account @tennisultra34On the site, it reports it's closed.https://www.chess.com/member/tennisultra34 But when I use the API, there's no information that the account is closed. $ curl https://api.chess.com/pub/player/tennisultra34 | jq{ "avatar": "https://images.chesscomfiles.com/uploads/v1/user/203178245.27e2aaf9.200x200o.7d2c52138116.png", "player_id": 203178245, "@id": "https://api.chess.com/pub/player/tennisultra34", "url": "https://www.chess.com/member/TennisUltra34", "name": "Lucas H", "username": "tennisultra34", "followers": 37, "country": "https://api.chess.com/pub/country/CZ", "location": "US", "last_online": 1710643009, "joined": 1666659217, "status": "basic", "is_streamer": false, "verified": false, "league": "Champion"}
seanfeifei Apr 5, 2024
In lichess arenas there is often an option 'berserk', which gains an extra arena point when winning, but the player who chose the option lost half of their time. Shall we allow this option on chess.com?
Paingloss Mar 29, 2024