Mock live stream user API

Working on e2e tests for my app, I’m wondering if there is some endpoint where username is always live.

https://api.twitch.tv/helix/streams?user_login=alwayslive

I’m not sure if there’s a specific endpoint for your usage - but in case there is none, perhaps take a look at something like the VCR library. It would allow you to capture actual API output (eg. when the user is live), and then play it back in testing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.