Hi, I been working on a chess.com overlay for streams and have everything functioning but the API records are wrong.... currently if you pull up my stats with the API under rapid it says my win draws and losses are about 29 / 2 / 6 (wins//draws/losses) but on chess it's 33 / 4 / 16 Any idea why this is so far off? I thought it maybe counting unrated games also but it's no the case. "chess_rapid":{"last":{"rating":1019,"date":1688060371,"rd":59},"best":{"rating":1019,"date":1688060371,"game":"https://www.chess.com/game/live/81756843033"},"record":{"win":29,"loss":6,"draw":2}},"
ThroughtonsHeirAlexHebert Jul 9, 2023
Hey everyone, just thought I'd give an update to my project chessinsights.xyz if you didn't see my last post it's a website that uses the API to export and visualize all of a players chess.com data. What I've added: Added an "explore" page for full text search and advanced filtering Added an "Top openings" chart with interactive links to chess.com wiki pages Added a "Result By Opponent Rating" chart Added the ability to upload profiles saved via json Refactored everything into VueJS and Nuxt Everything runs on client side javascript but because of the recent API changes I'm not sure how long it will work. I've been working on setting up an oAuth based access and made this python script for anyone having trouble getting a token response. https://gist.github.com/NotJoeMartinez/7809273edf3edb10093357235d52213b The project is open source and available on github:https://github.com/NotJoeMartinez/chess-insights Some updated images of the site:
notjoemartinez Jul 5, 2023
I am trying to use nmrugg/stockfish.js (I believe this is what chess.com uses) on github for a side-project of mine, but I am having problems with figuring out how I can use it so tried to find some docs but after spending some time to find it I have not been able to does anyone know where it can be found?
infimous20 Jun 28, 2023
Admittedly I'm downloading quite a lot of player (stats) endpoints this afternoon but I can 't remember getting this particular error before - can anyone throw any light on it? .... # File "C:\Users\Stephen\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 75, in get return request('get', url, params=params, **kwargs) File "C:\Users\Stephen\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "C:\Users\Stephen\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Stephen\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "C:\Users\Stephen\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request)requests.exceptions.SSLError: HTTPSConnectionPool(host='api.chess.com', port=443): Max retries exceeded with url: /pub/player/dhiego/stats (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1129)'))) # My knowledge of ftp is next to zero which is why I rely on the Python Requests module to take care of that for me but this is starting to slow me down quite seriously. Might it be due to overloaded servers? Usually see 50* errors for that.
stephen_33 Jun 25, 2023
when i was playing a game in the middle of the game i resign but i did not press the button
How do electronic chess boards from DGT, Millennium and others integrate with chess.com?
Any update on the Interactive API status? Underway? Actually upcoming this year? Is there an API manifest etc? Thanks!
chesslover0003 Jun 1, 2023
I don't seem to have any data of a person's current puzzle rating. While I can use the top puzzle rating I assume it'd make sense to get the current rating, or get any rating deviation to compare it with Lichess's provisional system.
So, on my content.js file i'm currently able to do what i want, but i want this function to be called again everytime a player makes a move. How can i achieve that?
trapgodbeckett May 20, 2023
Good afternoon, I am writing to you with the help of an online translator. I have a business idea, please forward this message to the person responsible for project development.This idea will be the second breath of chess, a reincarnation that will make them adored for another millennium! Let's make a board with 24 cells; let's introduce new figures that will be prototypes of MODERN military equipment: motorized infantry with a complex gradation of attack-defense affecting the level of life of a combat unit; possibilities of building walls and their destruction; laying and removing mines; reconnaissance of the surrounding cells for the presence of mines and the status of the enemy's combat unit (if it is on the defensive - the attack is ineffective); aviation with its flight characteristics; gradual opening of the map; squares with resources that affect development; missile strikes; satellite obstructions that obscure vision in a group of squares; fake military equipment; the possibility of building airfields for overturning aircraft and striking; technology development and many other interesting things. This is superficial information to familiarize yourself with the idea. I am already writing a technical task for a gamedev studio, but the development of the game will require significant funds, which I do not have; the writing of the terms of reference must be in accordance with the monetization policy of the project, so I cannot detail it without a comprehensive vision of the project.
ninjaswat May 19, 2023
I'm looking to make a "Login with Chess.com" feature on a website I'm making, but I have a few questions regarding this. Can I, in the future, apply for another OAuth for an entirely different project? Can I access the player's username and ID when they log in through this? Thanks everyone!
fancyfinn9 May 15, 2023
https://chonggi-tokhu.github.io/aass/docs/chess/colourgreybot1 *this chess bot page is only in korean.(here is colourgrey-bot in english. https://chonggi-tokhu.github.io/aass/docs/chess/colourgreybot1en ) *I am korean. *this bot is not an AI,it can't learn itself. but it calculates positions to move pieces. here. chonggi-tokhu is my old username on chesscom and github. but in github, 'chonggi-tokhu' is still my username. official chesscom club of colourgrey-BOT: saveColourgrey-BOT my chatting site in korean:q0 chat some codes of my chess bot are from open source bot code of @urobot2011chess. he(@urobot2011chess) is a great programmer,He built AI chessbot. his github repository: https://github.com/urobot2011/SaveMartin/ my chess bot is not an AI,it can't learn itself. but it calculates positions to move pieces best.
We have many users coming here and trying to get help with all sorts of chess.com bugs. All of them gets the same response: "post it somewhere else, read the rules, this club is not for that". I think this is happening only because people are trying to contact chess.com developers, so they search for it and first they find is this club because of the name. I understand that the current name covers exactly what this club is about, but it is confusing for non IT people and it just generates a huge noise and disappointment for chess.com members. Maybe a different name like "Chess.com API Community" would be better. Or something else, I am sure others can come up with a name that developers can find when looking for a forum for the API and not other users who are looking for IT help or contact the chess.com developers. Also, I do not want to turn off the notifications, because every now and then, there are relevant and great forum posts here, we just need to filter out the noise to catch them. Anyway it is just a suggestion that I wanted to raise. Hoping we can avoid the daily/weekly "this is not the right place" messages.
Is there an API endpoint to allow for a developer to grab a user's profile upon signin once done with the OAuth flow? That way instead of storing the user's chess.com username for https://api.chess.com/pub/player/{username} we call https://api.chess.com/pub/player/me instead.
Hello!I have a problem with the chess.com arenas.When an arena is created, all admins of the concerned clubs (those who are currently playing another tourney), they don't see anymore their tourney, and they only see the arena that has been created....And that's really annoying.... Because sometimes it is not possible to find again the link of the arena that we are playing....Can the chess.com team please try solving this bug? :)
Hello there everyone! I've only recently found the Chess.com API, and I'm planning to do some work with it, but before I do, I'd just like to double check a few things, because while I have worked with APIs before, well, things are often different from here to there. 1. Is the whole API accessable without a token or access key of some sort? 2. What would the average wait time be for a response from the server / how fast is the API? 3. I've heard of other chess websites' ("lie"+"chess") APIs having features to actually play games and actually use the website through the API. Will these ever come to Chess.com's one? Thank you everyone in advance! fancyfinn9
fancyfinn9 May 9, 2023
Hey chess.com your api connectivity sucks i had 7 games and almost winning then your reconnection issue duh? I dont have problems with my internet.
I know some endpoints are updated only within 24 hours but this example seems a little slow to me:- @APISTOTELHS https://www.chess.com/member/apistotelhs Their web page shows they were last online about 17 hours ago but.... https://api.chess.com/pub/player/apistotelhs "last_online":1681904786 - (tm_year=2023, tm_mon=4, tm_mday=19, tm_hour=12, tm_min=46, tm_sec=26....) i.e. 19/April Does that strike anyone else as being unusually slow to update?
Tricky_Dicky May 7, 2023
Hey chess.com your api connectivity sucks i had 7 games and almost winning then your reconnection issue duh? I dont have problems with my internet.
Tricky_Dicky May 7, 2023