twitch-rs/twitch_api

Trait to turn paginated APIs into async streams

simonsan opened this issue · 1 comments

'Page_turner' crate helps to abstract away any sort of pagination and allows you to work with such APIs uniformly with the help of async streams. All you need to do is to implement the PageTurner trait.

https://docs.rs/page-turner/latest/page_turner/

Sounds interesting, maybe this could be useful?

That does seem like an easier (read "better") interface than make_stream

I'm not sure it'd work with #114 though