Host Mode multiple targets?

Hi,

I wanted to know if it was possible to query multiple targets with the https://tmi.twitch.tv/hosts?include_logins=1&target=xxxxxxx" API?

For example, doing https://tmi.twitch.tv/hosts?include_logins=1&target=xxxx, yyyy, zzzzz" or https://tmi.twitch.tv/hosts?include_logins=1&target=xxxx&target=yyyy&target=zzzz" doesn’t work. Is this supported?

That endpoint isn’t supported for third party use. Only the endpoints under api.twitch.tv/kraken are supported.

Thanks for the info. Is there an endpoint that is supported to do what I need?

Correct, you can only query one target per request and since it’s an unsupported endpoint that most likely will not change in the future.

Got it, thank you!

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