Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need streams?game to support comma delimited list #56

Open
Jaxel opened this issue Feb 19, 2013 · 14 comments
Open

Need streams?game to support comma delimited list #56

Jaxel opened this issue Feb 19, 2013 · 14 comments

Comments

@Jaxel
Copy link

Jaxel commented Feb 19, 2013

https://github.com/justintv/Twitch-API/blob/master/resources/streams.md

The "https://api.twitch.tv/kraken/streams" supports calling of multiple channels with:

GET /streams?channel=incredibleorb,incontroltv

This works great, however the calling of games with:

GET /streams?game=Diablo+III

Does not support multiple games. It can only query for one game at a time. Would it be possible to get the game parameter to support a comma delimited list similar to how the channel parameter works?

@Jaxel
Copy link
Author

Jaxel commented Mar 24, 2013

Is there an ETA on when this feature will be coming?

@mpoon
Copy link
Contributor

mpoon commented Mar 24, 2013

We don't have a real ETA for this because this feature is being blocked by some database issues. Sorry! This is a feature we want to deploy though, so as soon as blocking issues are resolved, we'll get this live.

@FugiTech
Copy link
Contributor

We use to support comma delimited game names, but removed it when game names started containing commas. We're planning on allowing you to query multiple games at once somehow, but we're still figuring out the best method.

@edfan
Copy link

edfan commented Aug 22, 2014

Any updates on this? This would be a great help in lowering request times.

@Fire-
Copy link
Contributor

Fire- commented Sep 19, 2014

+1

1 similar comment
@lindstrm
Copy link

+1

@Jaxel
Copy link
Author

Jaxel commented Mar 26, 2015

Been over 2 years now... any updates?

@Vinlock
Copy link

Vinlock commented Jun 5, 2015

Could you do something like this?

https://api.twitch.tv/kraken/streams?game=Aion:%20Steel%20Cavalry|Aion:%20Ascension|Aion:%20Dark%20Betrayal

This functionality would come in great handy for me @_@

@Jpon9
Copy link

Jpon9 commented Oct 28, 2015

Why not accept an array of games in the parameters? Like this:

https://api.twitch.tv/kraken/streams/?game[]=Counter-Strike: Global Offensive&game[]=H1Z1

That would fix any issues with games being named a certain way. This functionality would be extremely helpful.

@ghost
Copy link

ghost commented Oct 28, 2015

It would make more sense to be able to request the information based off the twitch game id rather than the names, that way the mapping can always be a 1:1 for outside users, and a 1:many for the various spellings of the game name. (Allowing for a comma separated list would also be nice.)

(This would also be nice to apply to users as well, to get around renaming issues)

@Jpon9
Copy link

Jpon9 commented Oct 30, 2015

Yeah, that would be great too, Tourny. Just something to add this functionality back in.

@jaksah
Copy link

jaksah commented Mar 30, 2016

I'm also looking for a feature like this. Any recent updates?

@maakep
Copy link

maakep commented May 19, 2017

Another year, another bump for this feature

@freaktechnik
Copy link

This belongs to https://discuss.dev.twitch.tv and not an inactive bug tracker for obsolete API documentation, if you want to really get Twitch to kniw about the need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests