ArmindoFlores / ao3_api

An unofficial archiveofourown.org (AO3) API for python
MIT License
166 stars 64 forks source link

Add rudimentary support for getting history #22

Closed twitchy-ears closed 3 years ago

twitchy-ears commented 3 years ago

Very similar to bookmarks and subscriptions, add ability to pull history items getting the same work data as per a bookmark but also numbers of times visited and last date visited.

ArmindoFlores commented 3 years ago

Because this is a kind of a major change I'll have to test it a bit more, but it seems pretty good to me

twitchy-ears commented 3 years ago

I'd hold off 24 hours and I'll send in another PR tomorrow?

I'm finding a couple of bugs, specifically issues around the code I nicked from the bookmarks section and I've got a new version with option sleeps and maximum history page loads because the person I asked to test this hit the rate limit before they could get through their history

ArmindoFlores commented 3 years ago

So should I still test it? Or are you thinking of making another PR?

twitchy-ears commented 3 years ago

Just submitted a revised version, sorry there was other things getting in the way of time :)