I need to get my projects from replit to glitch and tried running this JS in the console (The console that opens when you press F12) on the repls page and it didn't work. I've been locked out of my own data and need to figure out either how to get the .zip file across to glitch or make this program work:  function isAtBottom() {    return (window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight;} function promptUser(items) {    let format = '';    items.forEach(item => format += `<a href='${item}'>${item}</a><br>`);     document.write(`<html style='font-family: sans-serif'><head><title>Your Repl Files</title></head><body><h1>Success!</h1><br><h3>Your Replit files have been successfully fetched.</h3><button onclick="downloadAll();">Download All</button><br><br><br>${format}</body></html>`);     const script = document.createElement('script');    script.textContent = `        function downloadAll() {            const items = ${JSON.stringify(items)};                        items.forEach(item => window.open(item));        }    `;    document.body.appendChild(script);} function finishSetup() {    let items = [];    console.log('Process complete! Fetching all Repls...');        document.querySelectorAll('.css-ow5df0 a').forEach(element => {        let currentHref = new URL(element.href);        currentHref.search = '';        let newHref = currentHref.toString() + '.zip';         items.push(newHref);    });     promptUser(items);} function scrollToBottom() {    const scrollSpeed = 300;        function performScroll() {        window.scrollBy(0, scrollSpeed);                if (isAtBottom()) {            console.log('Checking if any more Repls are available...');                        setTimeout(function() {                if(isAtBottom() && !document.querySelector('.load-more-spinner')) {                    // this will run if they're still at the bottom after 2 seconds and the page is not loading (meaning it's complete, i know i know, it's not the most reliable thing ever but I don't have a choice)                    finishSetup();                } else {                    requestAnimationFrame(performScroll);                }            }, 2000);        } else {            requestAnimationFrame(performScroll);        }    }        requestAnimationFrame(performScroll);} console.clear();scrollToBottom();
ChessChamp169GM Sep 14, 2024
ERROR:root:Error fetching status for luffy_murom: 403 Client Error: Forbidden for url: https://api.chess.com/pub/player/luffy_murom
Martin_Stahl Sep 14, 2024
I periodically retrieve my games through https://api.chess.com/pub/player/<username>/games/archivesSince yesterday the archives I download are corrupted, here is what I noticed:- games from 2024 have "UTCTime" off by a few seconds- all games played during the last day of a month were dropped
Martin_Stahl Sep 13, 2024
I am  trying to figure out someway to collect brilliant moves and store it. Since there is no API that does this, I figure that the only way to do this is by web scraping and collect the amount of brilliant moves in the game review, but I guess that requires me to login and analyze it per game. Is that a potential issue that could make me banned?
Martin_Stahl Sep 13, 2024
I will list a few here. I cannot list the thousands I have. Stats page = SP@6jjifgm - API - 52%, SP = 40% @bananapeelmaster123- API - 25%, SP = 47.06% @bigcalvin10- API - 62%, SP = N/A% (Last timeout was May 4th, 2024) @bishoponthedot- API - 100%, SP = N/A% (100% of their games are timeouts but these are back from February. The API should only be 90 days) @chessplayer279237498- API - 100%, SP = 55.81% @david007008- API - 21%, SP = 33.33% @droovybala- API - 71%, SP = Unrated% @etan2015- API - 87%, SP = Says unrated but they have timeout rates in custom chess going from back January of 2023 which should not appear in the endpoint. @excellentrsl- API - 25%, SP = 2.74% @little1bar- API - 100%, SP = N/A% (Timed out their only game back in December 2023. This should not appear in the endpoint.) @owlhh- API - 40%, SP = 50% @pliny_the_elder1- API - 45%, SP = 100% @shyguywowow12- API - 5%, SP = 70% @bigbertha- API - 65%, SP = 27.74% I excluded the majority of ones that had a high timeout but their stats page said nothing. I also didn't bother to add anyone in the list that had less than a 10% difference. From what I checked though, out of 100 players, maybe 2 were correct. It seems by the looks of it at least that the Stats endpoint is grabbing the player's total timeout rate for all games ever played and not filtering by the 90 days in many cases. I am sure everyone knows how to verify this but you can check the api for a specific member by using this, https://api.chess.com/pub/player/someUsername/stats and passing in one of the above usernames.
stephen_33 Sep 13, 2024
hey guys so i found some projects that i forgot about while cleaning up my pc, so the least i could do is to deploy them so hopefully it's some use to someone or atleast its fun to checkuses chess.com api btwhttps://cheater-check.vercel.app/ https://titled-check.vercel.app/https://speedrun-check.vercel.app/
Currently the stats on a player's profile differentiates their timeout rate depending on if it's a 960 game or a standard game. This means that a player could have a 100% timeout rate in 960 but a 0% in daily so when you retrieve that endpoint and the timeout rate, you may not get the information you want. I was talking to chess.com and I discussed with them the idea of a unified timeout rate but they suggested that I take a sort of poll. See what people think of the current situation. So let me know if you'd like to see a unified timeout (as well as the daily and 960 on their own) or if you think the current setup is fine. 
stephen_33 Sep 11, 2024
https://www.chess.com/news/view/published-data-api#pubapi-endpoint-player-is-online This endpoint requires a large number of internal resources to maintain, and in the past week it has been used by only one clear developer script with a user-agent that helps us contact the developer. All other access to that endpoint appears to be tests, runaway scripts, or unidentified programs that could work better. We propose to completely remove this endpoint. Current online status of a player will no longer be available in this API. We would like to have one week of discussion here, so that developers can voice any thoughts or concerns. We will work directly with the developer who identifies his program in these calls to move him to the newer system. In addition, we will monitor this forum post for at least two months, and directly work with other developers who are impacted. We are unlikely to publish the new method publicly, since it is strictly beta testing at the moment. Thank you. Please let us know if this impacts a program you are running, and any concerns you have.
Hello, I’m dev at ChessDojo and we are running DojoLiga, we want to create weekend to weekend arena/swiss automatically for our club/public which are streamed by the ChessDojo streamers. We would like to have endpoint or possibly some token based authorization endpoint that allows to create the tournaments in further future. Our admins can’t create this types of tournaments and it’s not really human usecase and we already know the date and time in quite advanced and it’s wasteful human effort. We are running DojoLiga which has leaderboards, and we have integrated some parts of code with Chess.com API. The code can be found here: https://github.com/jalpp/DojoLiga What are some workaround this issue? Can we write web bot that can do this automatically (though chess.com doesn’t allow us) but if we ask for this permission. Thanks
fireineyesloveinheart Sep 7, 2024
I would like to introduce a custom pieces set to the game, discussing it with the support now, but they don’t have access to the usage statistics  is this something you (devs) have? Also would you be able to recommend exact file extension (png, svg) and if not vector - dimensions     thank you! -Geo
Martin_Stahl Aug 30, 2024
Yesterday was OK. Today showing rubbish Example match https://www.chess.com/club/matches/1563907/games  https://api.chess.com/pub/match/1563907  Results missing from boards in API endpoint Player andrewmoulden won as white but result as black (drawn) not in endpoint.  "username":"andrewmoulden","stats":"https://api.chess.com/pub/player/andrewmoulden/stats","timeout_percent":0,"status":"premium","played_as_white":"win","board":"https://api.chess.com/pub/match/1563907/5"}, Not a unique situation. many matches show same issue.
Tricky_Dicky Aug 26, 2024
Hello. I think it might be good to bring back the follow button whenever you are spectating a game. It might be good so you don't have to press the "watch" over and over again. Please consider my opinion.
Martin_Stahl Aug 26, 2024
Why don't these agree? It's been pointed out to me that the timeout rates for two player in the following match don't agree with the figures given in the web pages:- https://api.chess.com/pub/match/1654189 "username": "irijeteveliova", "rating": 1183, "timeout_percent": 25 (web page shows Timeouts: 7.94% Last 90 days) . "username": "ljuba1009", "rating": 1231, "timeout_percent": 100 (web page shows Timeouts: 10.59% Last 90 days)They can't both be right so why does the endpoint in each case disagree so widely with the web page data?
Martin_Stahl Aug 24, 2024
I came across this anomaly in the web/endpoint data.... @DorinN69: https://www.chess.com/member/dorinn69 Last online: Jul 5, 2024 but: https://api.chess.com/pub/player/dorinn69 "last_online":1715970154 That translates as: 17/May/2024 So which is it?
stephen_33 Aug 22, 2024
So I'm developing my first app and wanted to check if I can post a link here for it (probably not) bu just wanted to see if i could just ask if anybody has any suggestions for it and provide some context (I think I'm allowed to say it's not chess-related) as I'm a first-time coder. Thank you!
ChessChamp169GM Aug 22, 2024
when i ever load an analysis that has a strong computer it dosent show if the move is good or bad
Martin_Stahl Aug 22, 2024
If you know the username of a player, you can find his/her user_id simply in the player endpoint. Is there some way to do this the other way round: finding the username that corresponds to a given player_id?
stephen_33 Aug 22, 2024
I am currently working on the world's largest database of OTB games. So far I'm at 17gb+ zipped! The project won't be done for some time, but If anybody has any OTB games from a local tournament or event I'd be more than happy to add them. Thanks.
betadmdragon Aug 21, 2024
I have a frame on the website available to my students that would allow them to solve the daily puzzle, but it is no longer presenting.  The frame is now just a plain white box.  I am not sure how to fix this at this point.  I did see a posting on another forum, but no responses.  I had read how to do this on the support portion of the site at one point, but can no longer find it. My students are in a VERY restricted environment and I can only allow certain websites because of that.  If anyone has an idea...I had sent in a help desk ticket, but got a reply to post here.
Martin_Stahl Aug 21, 2024
This endpoint has been inaccessible for some time now... https://api.chess.com/pub/club/team-colombia {"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 ."}
stephen_33 Aug 20, 2024