Cross-posted chess se, but nothing.
Both lichess and chess.com have the feature to play the variant chess960 live. However, only lichess has a graph showing how your live chess960 rating has changed over time. Lichess also shows other statistics like highest, lowest, best wins, worst losses, average opponent rating, etc. (chess.com does have this for correspondence chess960 though.)
I could create my own graph and statistics in Excel/Google Sheets by manually recording each game's date and my rating afterwards indicated beside my username, but...
Question: Is there a way to obtain, or what in general is the way to go about obtaining, ratings after each chess960 game using some kind of script that sees a player's public profile and then extracts the data?
I have a feeling this kind of script has been done before even if this was not specifically done for chess.com's live chess960. The script doesn't have to graph (pretty easy to do once you have to the data: just use excel/google sheets). I just need the script to collect all the dates and rating numbers for each line of the user's games.
Edit 1: Not sure of on-topic, off-topic stuff on stack of, but i've posted on stack of before. My 1st post was in 2014. It seems these post is getting negative reaction due to that I seem like I'm asking to be spoon fed or something. I don't believe spoon feeding is necessarily an issue here if it's not some homework thing, and spoon feeding is not necessarily what I am asking or at least intend (or 'am intending' ?) to ask anyway. You could just give me the general ideas. For example, if this is to do with 'scraping' or something, then just say so.'
However, I don't quite see this question as any different as like these:
How do I get notified if SE tweets my question? --> Here you could argue I'm asking about se itself on se, so it should be allowed. I've asked chess.com people, but they haven't replied to me, so here I am.
Pricing when arbitrage is possible through Negative Probabilities or something else --> I mean is the guy spoonfeeding or whatever by writing the script?
Edit 2: Additionally, what I'm trying to get at in this post is avoiding the concept of reinventing the wheel/wheel reinvention. I mean, I can't possibly be the 1st person in the history of the internet to ever want to extract their data from chess.com or lichess or something. Plus, chess is a game that has been around for awhile. It isn't like csgo or valorant w/c is relatively new. I really do not see any point A - to look up myself how to do go about extracting data from a site as an alternative to manually typing it up myself and of course B - to manually type it up myself when it would seem pretty weird if there weren't already readily available methods to do this.
Update 2: Fixed now. see the 'json' vs the 'preformed'. WOW.
Update 1: It appears Mike Steelson has an answer here, where the code is given as
=arrayformula( regexextract(split( substitute(substitute(substitute(getDataJSON(A1;"/games";"/pgn");"[";"");"]";"");"""";"") ;char(10));"s.*") )
with an example given here
https://docs.google.com/spreadsheets/d/1MX1o5qdy0K3gTMzbimUV3SmFf-0XPCSJ8Vz4IjI-8Ak/copy
It appears there's a problem when it gets to the case of chess960 only. Consider for example this player: Replacing 'gmwso' with the player's username will yield a weird output. i imagine the output will be messier for mixed chess960 and chess.
See Question&Answers more detail:
os