Hello, I'm trying to use the chess.com API for a discord bot, but have run into an issue when retrieving player ratings. Previously I just web-scraped the user's profile page to get all the ratings from there, but when using the API, the data I get back seems to be missing several game modes (the variant modes). As far as I can tell, the API is supposed to include the variant modes and everything else that is already publicly available on a user's profile. I appreciate any help or ideas as to what is happening.
If it's relevant, I'm using this python wrapper library to use the API, but I don't think that's the issue here.
Here is the response I get from making the API call for my own ratings (couldn't make the screenshot any longer, just open the image in a new tab and it'll be readable)
Here are the stats as they show up on my profile (notice the presence of several more gamemodes)
Ah, I thought that meant that not all modes would be as in-depth as the main ones, not that several modes would be omitted entirely. Thanks for clearing that up. Is there any way for me to contribute to the API for them to be added? Or is that just for Chess.com's own dev team to decide/implement?
Hello, I'm trying to use the chess.com API for a discord bot, but have run into an issue when retrieving player ratings. Previously I just web-scraped the user's profile page to get all the ratings from there, but when using the API, the data I get back seems to be missing several game modes (the variant modes). As far as I can tell, the API is supposed to include the variant modes and everything else that is already publicly available on a user's profile. I appreciate any help or ideas as to what is happening.
If it's relevant, I'm using this python wrapper library to use the API, but I don't think that's the issue here.
Here is the response I get from making the API call for my own ratings (couldn't make the screenshot any longer, just open the image in a new tab and it'll be readable)
Here are the stats as they show up on my profile (notice the presence of several more gamemodes)