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

Channel search #42

Closed
Kyle0654 opened this issue Jan 24, 2013 · 23 comments
Closed

Channel search #42

Kyle0654 opened this issue Jan 24, 2013 · 23 comments

Comments

@Kyle0654
Copy link

I could really use a channel search functionality that lets me search for channels/streams by a text string (which would search display_name, status, and potentially team display_names as well). I'd also like to be able to specify a game filter, to only retrieve results within a specific game (or multiple games if possible).

Basically, something like this, except with API-formatted results:
http://www.twitch.tv/search?query=tsm

@Hebo
Copy link
Contributor

Hebo commented Feb 1, 2013

Good suggestion; we would like to get this in soon. I'll update as it gets farther down the pipeline.

@Kyle0654
Copy link
Author

Kyle0654 commented Feb 1, 2013

Awesome! Now that Twitch is pretty much the only provider for game streams, I figured I could probably integrate with Twitch a little more heavily in my extension. I figure adding search is a good first step, and is a feature I've had many requests for over the last year.

@Kyle0654
Copy link
Author

Kyle0654 commented Apr 9, 2013

Is there any chance I can get an update on this? Thanks

@mpoon
Copy link
Contributor

mpoon commented Apr 9, 2013

Channel search is still on the roadmap, but a bit lower priority than other the other open issues.

We already have stream searching: https://github.com/justintv/Twitch-API/blob/master/v2_resources/search.md#get-searchstreams

We also allow you to filter streams by game: https://github.com/justintv/Twitch-API/blob/master/v2_resources/streams.md#get-streams

@Kyle0654
Copy link
Author

Kyle0654 commented Apr 9, 2013

Yes, but I can't search for offline streams, which is specifically what I need this for. =/

@mpoon
Copy link
Contributor

mpoon commented Apr 9, 2013

So what are you planning on building? We find really neat uses of the API to be a great motivator. :]

@Kyle0654
Copy link
Author

Kyle0654 commented Apr 9, 2013

I'm the author of League of Legends Stream Browser (and the Dota 2 and Starcraft 2 variants) - something like 140,000 users combined. One of the most requested features has been a search for offline streamers, which I really have no effective way to provide.

@Kyle0654
Copy link
Author

Just wondering if there's any update on this?

@mpoon
Copy link
Contributor

mpoon commented May 20, 2013

It's slated to be worked on in the coming month.

@Kyle0654
Copy link
Author

I was wondering if any progress was made on this in the last month? I have users asking about it more frequently now, and I'd like to be able to give them a reasonable timeline. Thanks!

@mpoon
Copy link
Contributor

mpoon commented Jul 11, 2013

We haven't started implementing this yet as the team has been focusing on the website recently. This'll be a high priority feature when we resume active work on the API.

@Kyle0654
Copy link
Author

I notice the new dev portal mentions search by channel, but I'm still not seeing this. It doesn't seem like I can search for channels that are offline. Any updates on this?

@RickDB
Copy link

RickDB commented Dec 14, 2013

Any update on this feature request?

@Kyle0654
Copy link
Author

Kyle0654 commented Jan 7, 2014

Any update here? It's been almost a year since I raised the issue =(

@Kyle0654
Copy link
Author

These only work if you type the name exactly. They're not fuzzy at all, and they don't do title matching or anything but streamer matching. You might as well just type the exact streamer name into something instead of use the search APIs >.<

@hayksaakian
Copy link

could you give some examples? it's not very clear what it should be doing that it can't currently do

consider:

https://api.twitch.tv/kraken/search/streams?limit=25&offset=0&q=dest

correctly finds destiny the streamer

https://api.twitch.tv/kraken/search/streams?limit=25&offset=0&q=paladan

correctly finds dansgaming (paladan is in the title)

https://api.twitch.tv/kraken/search/streams?limit=25&offset=0&q=skyrim+mod

correctly finds dansgaming,

im not sure where it doesn't work

I don't expect google tier search, but it seems like what they have is fine?

@Kyle0654
Copy link
Author

Oh right sorry, let me correct that. This doesn't find currently offline streamers (unless I'm missing something). That's the issue.

@hayksaakian
Copy link

Oh I see. I noticed that in other API methods as well.

This might be by design, but we should probably get official word on that.
On Jan 18, 2014 9:38 PM, "Kyle Schouviller" notifications@github.com
wrote:

Oh right sorry, let me correct that. This doesn't find currently offline
streamers (unless I'm missing something). That's the issue.


Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-32701624
.

@mpoon
Copy link
Contributor

mpoon commented Feb 10, 2014

Took a while: https://github.com/justintv/Twitch-API/blob/master/v3_resources/search.md#get-searchchannels

Looking forward to the update in the LoL Stream Browser!

@mpoon mpoon closed this as completed Feb 10, 2014
@Kyle0654
Copy link
Author

Awesome! Thank you! Maybe I'll try to add this in before I release the next update (finally integrated Twitch login so Stream Browser favorites get marked as Twitch follows, so streamers can get more accurate follower numbers =)).

@Kyle0654
Copy link
Author

Actually, quick question: https://api.twitch.tv/kraken/search/channels?q=carra&limit=100 doesn't seem to return scarra in the listing. Is there any sort of wildcard available to make sure the search isn't only left-matching?

@mpoon mpoon removed the Planning label Feb 10, 2014
@mpoon
Copy link
Contributor

mpoon commented Feb 10, 2014

Unfortunately with the search provider we're using and how it's been configured, the search only does prefix matching right now. The API should be feature parity with the search feature on the site, however if and when we upgrade our search capabilities, the API will also follow.

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

No branches or pull requests

5 participants