Friend History API

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
00gogo00
Posts: 8
Joined: Tue Dec 26, 2023 1:55 am

Friend History API

Post 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).
Image
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Friend History API

Post 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.
Image
impudens simia et macrologus profundus fabulae
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Friend History API

Post 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.
Image
impudens simia et macrologus profundus fabulae
philiplu
Posts: 92
Joined: Wed Aug 02, 2017 8:51 pm
Location: Redmond, WA, USA

Re: Friend History API

Post 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?
Image
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Friend History API

Post 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:
Image
impudens simia et macrologus profundus fabulae
Post Reply