Page 1 of 1

Friend History API

Posted: Sat Dec 28, 2024 7:08 am
by 00gogo00
Currently, you can download your own solve history by accessing https://projecteuler.net/history when logged in. It would be nice if there was a similar functionality for accessing the history of Friends (or at least their last 25 solves, which can currently be viewed on their progress page).

Re: Friend History API

Posted: Sat Dec 28, 2024 11:16 am
by euler
The introduction of bonus problems has had quite an impact on many scripts! Thank you for reporting it. It should be working again now.

Regarding downloading friend's history, I'll add that to my to-do list. Despite what you might think, that's a fairly involved job to do it right. I've got a number of other tasks that have been waiting to get done or have higher priority.

Re: Friend History API

Posted: Fri Jan 03, 2025 7:29 pm
by euler
I have updated the scripts and you should now be able to download the solve history for the most recent 25 problems for your friends. Also, as the human friendly date/time column is not helpful for sorting, I have added a first column that contains the timestamp.

Re: Friend History API

Posted: Fri Jan 03, 2025 8:44 pm
by philiplu
I think this last update broke the self-history. When I look at my own history, it's only showing the last 25 solves, and not the entire history. The CSV download is still sending every solve (for my own history - I see the last 25 for friends). Was that intentional or an accident?

Re: Friend History API

Posted: Fri Jan 03, 2025 11:30 pm
by euler
No, it was not intended. It should be fixed now and I've removed the restriction for friends. I don't know why it only showed 25 in the first place? I just hope I've not broken anything else this time! :shock: