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
Hello friends, I am thinking of starting to work with the API and have already posted a question on the sticky posts where related as to which API would be required for my needs.I saw one project that made use of it and was interested at that moment to start communicating with the club members. My use of the API would be to help visualize data in a different way. being a programmer (2000-2003 canadian pre-uni degree) and a statistician by nature, gotta get some stats I crave and the API seems the way to go for ease of access. Before starting the study of how everything works in these forums (lots of great info present) I must know if it's a viable project based on feasibility.Question being now for thes current post : My project is not much more "complicated" that this, (displaying data based on the user, but from DIAMOND MEMBERSHIP deep analysis data), https://chessheat.com/?hue=213&user=throughtonsheiralexhebert&year=2023 would I be able to use the basic public API or do I need the authorization one? Being that for my use I'd require the diamond user statistics, and public users wanting to see their stats could see those public as I would not make a system where the public could enter their username login. This is not that kind of project.Public frontend : check by username akin to that chess-heat example,but intranet I'd like to get my deeper personal data to talk about the progression and ''career'' in my Chess.com blogs. Each would be separate, encapsulated project. I'd get data to analyze in one, intranet then only keep the resulting graphs/details. Use them in blogs on here. The public application if possible would show user's data by name entered.Telling the story of our passion for chess can be helped by those deep stats and there is a youtube channel that inspired me to execute my vision of such data presentation. The chess.com API project would be a first step.
The /callback/live/game/{gameid} response for Bughouse recently changed, some hours ago it contained the partnerGameId value that pointed for the other game id, but it does not anymore. Can you please put it back? Not like I used it or anything since that would be against the ToS but some people surely use it. Also I think it broke the ability to review past games on your end as well. - - For a workaround: the vast majority of the recent games, the game id for the other game is gameid+2 or gameid-2. There are some exceptions where the other game id is different. Also for older games it is +1 or -1.
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}},"
Avatar of ThroughtonsHeirAlexHebert
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:
Avatar of notjoemartinez
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?
Avatar of infimous20
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.
Avatar of stephen_33
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!
Avatar of chesslover0003
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?
Avatar of trapgodbeckett
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.
Avatar of ninjaswat
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!
Avatar of fancyfinn9
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.
Admins