Member listed in country players endpoint incorrectly https://api.chess.com/pub/country/XE/players Looks to be a Guest account with international flag Listed member @Guest0691425877
Avatar of Tricky_Dicky
Tricky_Dicky Sep 22, 2023
Chess.com is undoubtedly a popular platform among chess enthusiasts, offering a plethora of useful tools and resources for players of all levels. While the platform has undoubtedly provided a positive experience, it's important to continually strive for improvements. In this discussion, I would like to suggest an enhancement that could further elevate the user experience. Enhancement Proposal: In the current version of the Chess.com app, one minor inconvenience stands out: when a player selects a chess piece to move, the possible moves are indicated by a point at the center of the destination square. While this approach works, I believe there is room for improvement. Suggestion: Extend the Clickable Area: Instead of indicating the possible moves with a point at the center of the destination square, I suggest extending the clickable area to cover the entire selected square. This means that when a player taps on a piece and then taps on a destination square, the entire square should register the move, rather than just its center. Benefits: Preventing Accidental Errors: This adjustment would significantly reduce the chances of accidental errors during piece placement. Currently, users might occasionally misplace pieces due to the limited clickable area, leading to frustration and disrupted games. Expanding the clickable area would alleviate this issue.Smoother Interaction: With a larger clickable area, the interaction between the user and the app would become smoother and more intuitive. Players would feel more in control of their moves, enhancing their overall gaming experience.User-Friendly Design: To avoid any potential confusion during the development phase, it would be wise to incorporate a slight padding around each square. This padding would ensure that users have no difficulty accurately placing pieces in their desired squares, even on smaller screens or when using touch-based devices. Implementing this suggested change would be a step forward in enhancing the Chess.com app's user experience. It's a small adjustment that can make a big difference, ensuring that players can enjoy the game without the frustration of accidental errors. I appreciate the hard work and dedication of the Chess.com team in creating an exceptional platform for chess enthusiasts, and I believe this enhancement would further solidify Chess.com as the go-to platform for chess players of all levels.
Avatar of Martin_Stahl
Martin_Stahl Sep 15, 2023
On the 8th September I got a 'Error 502': Database overload. First time ever. Not sure now where that is documented now as it is no longer in the spec? Today (9th September) I've got a 'Error 429': 'we are refusing to interpret your request due to rate limits' Again never had this before. From the spec: Your serial access rate is unlimited. If you always wait to receive the response to your previous request before making your next request, then you should never encounter rate limiting. However, if you make requests in parallel (for example, in a threaded application or a webserver handling multiple simultaneous requests), then some requests may be blocked depending on how much work it takes to fulfill your previous request. You should be prepared to accept a "429 Too Many Requests" response from our server for any non-serial request that you make. In some cases, if we detect abnormal or suspicious activity, we may block your application entirely. If you supply a recognizable user-agent that contains contact information, then if we must block you application we will attempt to contact you to correct the problem. I NEVER make parallel requests. Never have done and the module was one I have run virtually everyday for the past 4+ years. Some understanding of what is happening would be appreciated.
Avatar of Tricky_Dicky
Tricky_Dicky Sep 9, 2023
https://api.chess.com/pub/player/{username} last logon date incorrectly shown for random user names. Unable to see any pattern. examples: https://www.chess.com/member/thrain31 TODAY API 24/08/2023 13:53:00https://www.chess.com/member/joshcad 06/09/23 API 23/08/2023 12:26:00https://www.chess.com/member/robertson80 07/09/23 API 28/08/2023 09:17:00https://www.chess.com/member/jdelej TODAY API 20/08/2023 23:32:00
Avatar of Tricky_Dicky
Tricky_Dicky Sep 8, 2023
Hey all, I've started building a twitch bot in NodeJS using TypeScript, which is a bot that connects to a Twitch channel and listens to user commands. I've started on this project yesterday, so currently it's limited to a single command "!rating <user> <type>" which queries the Player Stats API endpoint and sends a message to the Twitch channel: You can check out more info on the idea and the code at GitHub: https://github.com/sliceofcode/chess-twitch-bot
Avatar of KittyFleetCommander
KittyFleetCommander Sep 7, 2023
Hello! I have been using this endpoint: https://api.chess.com/pub/player/{user} to get info of a user. The endpoint works well in the navigator, but fails with Error 403 in my python code. What is wrong? Is this related with the OAuth 2.0 topic?
Avatar of stephen_33
stephen_33 Sep 7, 2023
Hello,I have a list of dozens of users on my site. Currently, once a day I make appropriate requests to the api to update information about the games they have played.However, I would like to do it more often, e.g. every hour.Wouldn't such a frequency be considered too frequent? Can I calmly execute my queries at such intervals?Thank you in advance for your response
Avatar of Martin_Stahl
Martin_Stahl Sep 3, 2023
Couldn't work out why a 'match-settings' checking routine I use suddenly started returning errors in every match sampled but on checking a match I found something new! "initial_setup":"" has suddenly appeared in the match "settings" data. It doesn't appear to do anything at this stage but does anyone know anything about this?
Avatar of stephen_33
stephen_33 Sep 1, 2023
For example the response for a certain random puzzle: "url":"https://www.chess.com/forum/view/daily-puzzles/962010---mate-in-3" Yet visiting that link does not take you to that puzzlee but instead takes you to today's daily puzzle. You'll see that none of these daily puzzle links actually take you to the right puzzle, instead always redirecting to today's daily puzzle. https://www.chess.com/forum/view/daily-puzzles/3242015---mate-in-4 https://www.chess.com/forum/view/daily-puzzles/7-11-2019-protecting-attacking-and-winning https://www.chess.com/forum/view/daily-puzzles/5-16-2019-double-discovery
I had an idea that could potentially make use of the interactive API at some point. I've wanted to write my own engine for a while, but never gotten around to it. But if/when I do, I'd love to be able to take it online in a clearly-designated computer account, similar to the chess.com computers like @Computer4-IMPOSSIBLE, but running on my hardware. I believe FICS has a feature similar to this (update: so does Lichess). This might be best as a new kind of account type, perhaps with a little computer icon next to the name (similar to where staff have a green pawn and mods have a blue pawn). That way there's no confusion from anyone (including potential opponents) as to whether there's cheating going on. It would also allow people to use the existing seek filter to exclude these computer accounts. It might be good if there was some kind of verification that people have developed their own engines so that you don't get dozens of Stockfish clones. A feature like this could make chess.com a popular platform for engine developers, but it would need caution so as to avoid facilitating cheating.
Hello Chess.com, We are students at the University of Texas at Austin that are members of ECLAIR, a club focused around completing projects related to robotics and artificial intelligence. We were hoping we could get some guidance on one such project, a robotic arm that is capable of playing and teaching chess to users through a web interface. So far, our arm is able to use CV to interpret user moves, and passes the game state on to Stockfish in order to make its own move. However, we were also hoping to create our own AI to eventually use in the place of Stockfish, and so we were wondering if you had any advice you could offer as to how we could create an analysis engine capable of identifying why a move was good or bad (such as identifying forks or isolated pawns)? If possible, we would really appreciate it if you could put us in touch with a developer or someone else who is familiar with such systems. Thank you! Sincerely, Hursh
Avatar of SteelFeathers8
SteelFeathers8 Aug 25, 2023
https://api.chess.com/pub/player/jan1080/stats Error with time stamp of latest daily rating Endpoint return 05/07/2023 20:22:00 last finished game Dec 9th 2022
Avatar of Tricky_Dicky
Tricky_Dicky Aug 23, 2023
At https://api.chess.com/pub/player/defaultedwastaken/stats , it says "chess_rapid":{"last":{"rating":800,"date":1689907538,"rd":48} but on https://www.chess.com/member/defaultedwastaken the user's rating is shown as 2000, which seems to be correct. What's going on, why is the rating incorrect in the API?
I just want to know that. How can I see who blocked me with chess.com published data API?
Avatar of Tricky_Dicky
Tricky_Dicky Aug 7, 2023
For example, if I had a list of 1000 players, and i wanted to get the stats for all 1000 to ultimately find who has the highest amount of followers, or to see how many out of the 1000 are streamers. I would have to make 1000 requests to the pub/player/{username} endpoint. Would I encounter any rate limits? If not, what if the list is even larger, lets say for 300000 users? I've done some testing for 100ish users at once and found no issues other than some loading times but I'm unsure whether I should test a larger amount of users. Also curious if different rate limits are applied to different endpoints (I also want to make requests to the user stats endpoint for ratings).Thanks for the help!
Avatar of CosmosOfSolomon
CosmosOfSolomon Aug 4, 2023
I've noticed the new DOM had variables in root like --theme-piece-set-wp which makes it a lot easier to style pieces and boards using just CSS. I already updated my own code when it broke down, but it's still going between the old and new versions, which is annoying.
Avatar of SaberSpeed77
SaberSpeed77 Aug 1, 2023
I would like to use OAuth authorization to bypass api limits.Is it enough that it generates one token and I can use it all the time in my application or do I have to renew it every time it starts/shoots the api? If I want to download only a few data from the api without requiring users to log in, can I use my account to generate a token? Can you give some example? :) Thank you in advance!
Avatar of CosmosOfSolomon
CosmosOfSolomon Jul 29, 2023
um, I would like to learn more about the Chess.com API, I have read the documentation, and I would like to find some websites that actually use the API. For example, chessinsights.xyz and openingtree.com are good ones. Are there any other websites that use the Chess.com API?
Avatar of ShawnBierman
ShawnBierman Jul 23, 2023
Hi! Could someone explain me how the API works, please? A step-by-step introduction with references etc. would be very kind and helpful!
Avatar of LOL_Gamer2
LOL_Gamer2 Jul 23, 2023
hello guys, when chess live was up some months ago, this link used to work in order to invite a player by just clicking this link in this case to invite my friend abfchess https://www.chess.com/live#time=3m0s2i&game=&rated=unrated&minrating=&maxrating=&color=&member=abfchess now it's not working anymore, could someone create another one? for the new online play or teach how to do it?
Avatar of itsBenAndKaren
itsBenAndKaren Jul 17, 2023