With multiple query params in response returns only the last value

I try to get the list of channels using query with few channels names in different ways :

  1. https://api.twitch.tv/kraken/search/channels?query=starcraft;query=riotgames;query=needforspeed

  2. https://api.twitch.tv/kraken/search/channels?query=starcraft&query=riotgames&query=needforspeed
    Result of above is the list by the last query param - 'needforspeed’

  3. https://api.twitch.tv/kraken/search/channels?query=starcraft,riotgames,needforspeed
    Above doesn’t work at all.

Help me please with an advice - how to use multiple params.

Search only accepts one query parameter.

It doesn’t support “and/or operations” like you are attempting to do.

If you want to lookup results for “starcraft” or “riotgames” or “needforspeed” then you’d need three seperate requests.

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