twitch_api
twitch_api copied to clipboard
Trait to turn paginated APIs into async streams
'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
PageTurnertrait.
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 https://github.com/twitch-rs/twitch_api/issues/114 though