Another day, another node.
This time a node that makes it easier to use the HTTP node to Iterate through pages of an API.
It’s always a bit of a hassle with code to do this correctly. It’s easy to make tiny mistakes that aren’t easy to spot.
Have fun with it, please let me know if there is any issues.
edit: bug fixed in version .1.1
Had an issue with a question reported on Github, and noticed a bug on that.
Since then I had the need for the Iterator and of course, happen to hit the same bug. So I fixed it + added the new features I had listed to do one day.
- iteration number is now saved in the context.
- max iterations is now added as an option.
- expected item count now also works with the reference next iteration type.
- the “is there another page” option now does not check this boolean at the first iteration. Making it easier to use this to iterate and setting the value with an expression.
Hope this helps the users out.
New version is 0.1.2, please update if you are having issues or need one of the above features.