I cam across this forum post: https://www.chess.com/forum/view/community/chesscom-developer-program-ec I am curious as to whether you still provide this -especially with this beta API. While I will be using heroku for a current project I am working on -which is utilising the PubAPI-, I think it best for it to stay more ... separated from chess.com . But, I ask to see if I might be able to use it for future projects.
walidmujahid Sep 22, 2017
We have about 60 players who have more than 250 currently-active Daily Chess games — and 2 players actually have more than 1000! The current API is not well suited for these large lists, but is working very well for the average player (8 currently-playing games). We are looking at limiting the /pub/player/{username}/games list to just the most recently changed 250 games. Even though this list would not be complete for 60 of our players, it would always contain all of their current games in which the other player just moved or performed some other action. The /pub/player/{username}/games/to-move list would still be a complete listing of all games the player needs to make a move in. The game archives endpoints would be unaffected. I am asking the developers here if this limitation for these 60 players would have significant negative impact on their work or plans.
walidmujahid Sep 19, 2017
I would like to suggest endpoints for accessing player statistics. Such as: Ratings for the various game types -e.g, Daily, Rapid, Blitz-, and various stats for each game type. So, timeouts for daily games, perhaps Glicko RD, and the percentages of wins, losses, and draws based on colour. Also, would it be possible to get historical ratings in JSON? Maybe adding a "start_rating" and "end_rating" for white and black in games from the "Monthly Archives" endpoint? Edit: Though, thinking about, I guess that last part about adding a start and end rating really is not nessecary. Silly me.
walidmujahid Sep 8, 2017
Topic to discuss identified bugs with the APIS.
Dale00007 Sep 5, 2017
Hi everyone! I made a notification icon for Polybar. Here is is on GitHub. It simply shows how many games you have to play and it automatically will change color to let you know you have a game to play, and it takes you straight to your next game when you click on it. Hopefully it will make using Chess.com a lot easier for all you Linux users out there!
timothyha Sep 5, 2017
Hi there, Fairly new to the forum and just playing around to see what is possible.I did notice that while the documentation in the README for the Published-Data API mentions that the JSON returned by a call for Complete Monthly Archives does not conform to the format specified. The documentation mentions that both the white and the black field in each game contain the username of the player, but this is not the case; both the example call and calls to current data return the white and black fields with only 3 fields (rating, @id and result). I might be missing something and I'm also not sure whether this is the correct place to post this (if not, please let me know and I'll (re)move it), but if not, is it possible to amend this?
One needed endpoint, which is not yet in the roadmap, would be for me members with some filtering and sorting criteria. In order to support functionality to find new club players suitable for the team, I would like to search through all members and filter those in specific country or location and sort them based on recent activity timestamp. Do you think that you can have a similar endpoint in the future? It would be a replacement to screenscrap ie this page: https://www.chess.com/members/search?country=40 Thanks.
Dale00007 Aug 10, 2017
I see that you offer link to chess.com pictures (ie player avatar). Is it allowed to display pictures from images.chesscomfiles.com on my webpage by calling this external URL?
Do I need to identify myself, when I am calling your API? Or is it sufficient ie to use the parameter "From:"? In some API implementations, developers need to register, will get API key and then they use the key in order to utilize APIs. This gives you the possibility to see utilization of your environment by different apps and blocking them if needed.
Thanks for moving forward with this initiative. I believe that in this world full of developers and open platforms it can provide many interesting ideas and features for users, which are not/can not be done directly at Chess.com. By reading README, I have one generic problem with the sentence below: and by accessing these APIs you agree to not harvest or store the data for offline use in any way I understand that you need to protect data and your know how, but if I would like to offer added value to users, then data has to be stored to some level. For example if I would like to provide additional statistics about club matches, that it is nonsence to call online full match history of the club online through API when manager send the request. Please rediscuss this limitation. Thanks. Petr