Closed esjee closed 6 years ago
Nice feature! If this works, we can remove a lot of request to our servers :D
I tried cleaning it up a bit. Is this helpful?
Looks like there's a merge conflict, otherwise :+1:
It appears there's a bit of an issue with the endpoint, in that it may get stuck repeating the last page infinitely. I'm hoping I'll be able to fix this, and I'll finish off this PR at that point.
Alright! I'm happy with the PR in it's current state. Curious to know what you think!
This is a feature based on the discussion in https://github.com/oreoshake/hackerone-client/issues/25. Essentially, it allows you to fetch all activities of your program incrementally. The idea here is this acts like a stream; you start at one point and keep moving forward in time until you run out of activities. As mentioned in #25, this feature has multiple usages:
The code is still a bit rough, but I envision it being used something like this:
Before I go on writing tests, I'd be curious to see what you think of this feature, and if you have any suggestions on how to improve it.