Personalized training recommendations from api?

Sort:
Damnedkrt

Hi!

I just started playing chess. I noticed there are personalized training suggestions in the post game analysis (in the report tab)

This:


So I figured maybe I could collect the top X most common suggested trainings over Y time, and focus on the ones i get suggested the most. 

I can get my games from the api. But I cannot find the training suggestions anywhere.


Is it possible? 

Alternatively, could I fetch it from the web page itself somehow? Seeing as I have the game links from the api. But my webrequest/curl for that page url does not contain the word "training". So maybe I'm missing something

Nevfy

No, you can't obtain such information via API.

Information from description ( https://www.chess.com/news/view/published-data-api ):

The PubAPI is a read-only REST API that responds with JSON-LD data. Our goal is to re-package all currently public data from the website and make it available via the PubAPI. "Public Data" is information available to people who are not logged in, such as player data, game data, and club/tournament information.

Damnedkrt
Nevfy wrote:

No, you can't obtain such information via API.

Information from description ( https://www.chess.com/news/view/published-data-api ):

The PubAPI is a read-only REST API that responds with JSON-LD data. Our goal is to re-package all currently public data from the website and make it available via the PubAPI. "Public Data" is information available to people who are not logged in, such as player data, game data, and club/tournament information.

 

Fair enough, if it isn't available through API that's just how it is. Hopefully someone might be able to guide me in how to fetch it as a basic webrequest. I could regex it, but don't know how to reach the correct page.

 

It is public though. Just wanna say.

BaronVonChickenpants

I'm not sure if it is truly public. Free users are limited to how many Game Reports they can run, and presumably you have to have run the game report to see these Improvement tasks? 

Damnedkrt
BaronVonChickenpants wrote:

I'm not sure if it is truly public. Free users are limited to how many Game Reports they can run, and presumably you have to have run the game report to see these Improvement tasks? 

 

It seems the report tab has to be triggered/loaded in first indeed. But after that, the uri and training suggestions is there, even when logged out.

Managed to get this working via selenium and chrome.
One could question if it's all really necessary, but was a fun little project! happy.png 

Now I know which lessons and puzzles to focus and do more than the others, and can see the trend over time.