My friend wants to share a python program he created but we don't know the best way to do it. What do we do?
Hello, I've been trying to scrap in python the chess.com/live page to know if my friends are playing and instantly open their games links. Unfortunately, I couldn't manage to log into chess.com using the Python cookiejar and requests libraries. Is this even possible/allowed ? Do you have any idea of how I could make it ? Thank for your answers
thegadgettechie Aug 19, 2020
Is there a call to retrieve the current standings of a tournament? The only thing I found is the Get a Tournament Round's Group method, I could iterate through the different matches, but it doesn't tell the amount points made with the win which may have different values in Arena tournaments.
VictorBenso Aug 15, 2020
I am trying to build up a training dataset to train a convolutional neural network to convert handwritten score sheets into PGN. Does anybody have a (large) body of score sheet images + respective PGNs or knows which persons/entities could potentially provide those? Since score sheet formats vary widely between countries and federations I'd be interested in a variety of them.
BetweenTheBoard Aug 14, 2020
I don't see anywhere in the PubAPI to return the value that can be found at https://www.chess.com/stats/live/blitz/pewwww#recent for example. The leaderboard stat seems to only be fetchable for the top 500 or so players if you use the /int/leaderboards/{page} endpoint, but not through /pub/player/{username} or any other way. It's scrapable but I don't think that's the appropriate way to do things. Is there an endpoint I'm missing or is this planned to be added eventually?
Hey everyone, is there any plan to expose a public API which tells whether a particular player is playing a bullet/rapid/blitz game? Currently I see an API only for daily games. Any response will be helpful, thanks : )
Tricky_Dicky Aug 13, 2020
I am a data science student at General Assembly. For my final project I am hoping to build a model that could predict a puzzle's rating based on the position. Does anyone know how I might be able to access the puzzle dataset so I can use it to train and test my model? Thanks, folks!
stephen_33 Aug 13, 2020
The API does not have forum posts or comments for clubs, and that would be great for creating cool applications (I was thinking forum posts discussed in Discord). Another fun idea would be posting a forum or new post yourself; you could have credentials like an API key in your settings or something.
Hi everyone, I asked this question in the general chess.com forum and people referred me to this comunity. I have a problem. I want to make some statistical analyses using the final position of several games. For this purpose, I need to know what pieces were left in the final position and in which square they were. Due to the huge ammount of games (arround 1000), I need an automatic process or something similar. I know that FEN code gives me that information, but I don't know how to extract the FEN code of the final position of this several ammount of games. Does anyone have an idea on how to do this? Is there any software that allows me to do that? All suggestions are welcome.
This is my first post here so please forgive me if this is off topic. I experience this behavior in the latest Microsoft Edge, Firefox, Chrome and Brave browsers, so I suppose it holds true for any other browsers too. I use the normal sized chess board for Puzzle Rush and Battle and also for solving puzzles, example - https://www.chess.com/puzzles/problem/759352/practice When moving pieces on the first rank (in the above example - the rooks), if the piece goes below the boundary of the board when dragging it horizontally, then the vertical scrollbar appears on the page and the board itself re-positions. This is extremely annoying especially when you're trying to solve puzzles very fast during Puzzle Rush or Battle. If I reduce the size of the board the issue does not happen. So I suppose the issue happens because the piece goes beyond the display area of the screen. I applied a temporary fix to the issue by modifying the CSS of the page to include html { overflow-y: scroll; } as per https://stackoverflow.com/a/7607206 Then it worked.
stephen_33 Jul 8, 2020
Hi, I am trying to use the published data api to try to download all games from any tournament. The documentation says that the "group" endpoint will return the pgn for games as well, but the response doesn't have it. for example https://api.chess.com/pub/tournament/-scc-grand-prix-titled-tuesday-blitz-1308796/10/1 There doesn't seem to be an endpoint to get pgn given gameId either. So is there a way to get pgns for all games that happened in a past tournament somehow? Thank you!
Hello all, I was looking at the API specs here; and for finished tournaments, it indicates the presence of the field 'points_awarded'. However, for Fabiano Caruana's tournaments, the field is absent. Is the field optional, or has it been deleted? BTW the comment for the field says pints awarded...
Why is the first two moves' times are missing in bughouse? For example when looking at an old game of bughouse to analyze it, I see The clock still is ticking down, but it is not represented on the user interface.
Tricky_Dicky Jul 4, 2020
I think I may have raised this problem before but it looks as if there's been a change in the way club names with accents are rendered into URL's. When this name is entered into the club search field, 'no results' is returned:- Motörhead I don't know if the two things are connected but the URL club id used to be motoumlrhead but has now changed to just motorhead. Here's the new club URL:- https://www.chess.com/club/motorhead
ChessSociety Jul 4, 2020
When I choose Share Pgn after game ended, the Result is *. It should be 1-0 or whatever
Got this response code a few times last few days. {"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 ."} anyone else?
Tricky_Dicky Jul 1, 2020
Apologies if this is obvious but how do I find a live tournament's url-id? For example, for the recent women's SCC the tournament url is this: https://www.chess.com/live#t=1273143 But I don't think that's the same as the url-id? Thanks in advance!
Data missing from end point Data no longer showing for Live Statistics as below in red End point: https://api.chess.com/pub/player/{username}/stats Data Format, each Game-Type: { "last": { // the current stats "date": 1509709165, // timestamp of the last rated game finished "rating": 1642, // most-recent rating "rd": 58 // the Glicko "RD" value used to calculate ratings changes }, "best": { // the best rating achieved by a win "date": 1256228875, // timestamp of the best-win game "rating": 2065, // highest rating achieved "game": "URL" // URL of the best-win game }, "record": { // summary of all games played "win": 177, // number of games won "loss": 124, // number of games lost "draw": 21, // number of games drawn "time_per_move": 18799, // integer number of seconds per average move "timeout_percent": 9.99 // timeout percentage in the last 90 days }, "tournament": { // summary of tournaments participated in "count": 20, // number of tournaments joined "withdraw": 1, // number of tournaments withdrawn from "points": 39, // total number of points earned in tournaments "highest_finish": 1 // best tournament place } }
Tricky_Dicky Jun 20, 2020
There is a bug when you copy paste the rules of automate. (Beta)
WhiteDrake Jun 15, 2020
Note: This was previously posted on the Chess.com Beta Club, and they sent me here Hey! I do (web)development stuff for fun and am a Twitch mod for a few Chess.com partnered streamers and I've noticed viewers like stats. They like to use !whois and !stats commands on Twitch to view stuff about Chess.com users. Recently, player accuracies were a topic in one of the streams. I figured it would be cool to create an accuracy command that calculates a player's average accuracy in the last month or so (that way, we wouldn't have to get, you know, ALL games someone's ever played). I was disappointed to find out that the Published-Data API does not have give us this information My suggestion would be to add each player's accuracy to the API for games that have previously been analyzed (e.g. only games where accuracies are already known). My personal use for this would be to make fun Twitch chat commands, but I'm sure other developers would find other uses for it as well! I'd love to hear how you guys (and especially a Chess.com developer) feels about this! Thanks in advance!