-
Notifications
You must be signed in to change notification settings - Fork 378
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
Endpoint for Team Members. #99
Comments
|
Yes please, that would be awesome and pretty useful! 👍 |
|
We're still planning on doing this, but we have no ETA yet because this feature is being blocked by some infrastructure changes we need to make. |
|
Though hard to find, a team API does exist and does work for now. |
|
Thanks @Fire- ! |
|
@Fire- - That's awesome! Thanks for the info! |
|
@tfevens you shouldn't close the issue, this still needs to be added to Kraken |
|
As requested :-) |
|
This issue still exists: You can't get team members from the kraken api. |
|
Still cant get list of team members on kraken? |
|
Is there any sane way to get a list of channels which are part of a given team? It seems the old API is returning 404's now meaning this issue has become more necessary to solve. |
Unfortunately they have provided no alternative yet[0] which means supporting teams directly is out of the question. However in the mean time I've added a -u flag to ditch which will scrape the team page for each team listed in XDG_DATA_HOME/ditch/teams, append the results to your streamers file and sort it leaving only unique entries. As this doesn't deal with caching -u will need to manually be triggered sporadically. This isn't quite so bad as teams rarely change. This is not certainly not ideal but the alternative is too prohibitive (scanning the entire twitch userbase and checking if each user is part of the desired team) or wasteful (scraping the team pages every innovation, wasting data usage and time). 0. justintv/Twitch-API#99
|
+1, being able to get team members is important. Can we bring back http://api.twitch.tv/api/team/{teamname}/all_channels.json until a kraken endpoint is established? |
|
I too need this. This issue still exists. I'm currently scraping the team page which is a disgusting hack that I'm so upset at myself for doing. |
|
This feature seems long overdue, especially given the removal of http://api.twitch.tv/api/team/{teamname}/all_channels.json Is there any official update on the roadmap for this feature? It seems pretty fundamental for teams |
|
tfw no team endpoint |
|
it's probably time to accept that the API has been abandoned. tfw parsing raw HTML : ^) |
|
I am a little saddened to see no real explanation of why this hasn't been implemented as of yet as I believe there would be a lot of use cases for this specific endpoint and there is clearly a demand for it.
Given the time since the above comment, can we get any more information in whether that blocker was removed? |
|
The real explanation is right there:
My experience is that these sort of changes do take a long time (longer with companies who operate at the scale that Twitch operates). And the necessary changes can also be blocked by other work. |
|
Looks like this has been added on version 5 of the API which was recently released but hasn't been documented yet. The teams API endpoint for a specified team will also now contain an array named "users" which has the data of all the channels on the team. I'm not sure if this is final yet though because it's not paginated at all, so for example if you try to lookup the team endpoint for SpeedRunsLive (which has 300+ channels) and it has not been cached, the request is quite large and takes a good 10-15 seconds to actually be returned. I mean I do not think that the "this feature is being blocked by some infrastructure changes we need to make" thing is/was true anymore, I'd be a bit worried if it was after the 4 year wait we have had to get this into a supported, non-deprecated endpoint and how many changes Twitch has gone through in that time period. |
|
Looks like that is indeed in v5, example
|
|
Is there a way to get streams and not users with v5? The dream would be one call instead of two |
Unfortunately they have provided no alternative yet[0] which means supporting teams directly is out of the question. However in the mean time I've added a -u flag to ditch which will scrape the team page for each team listed in XDG_DATA_HOME/ditch/teams, append the results to your streamers file and sort it leaving only unique entries. As this doesn't deal with caching -u will need to manually be triggered sporadically. This isn't quite so bad as teams rarely change. This is not certainly not ideal but the alternative is too prohibitive (scanning the entire twitch userbase and checking if each user is part of the desired team) or wasteful (scraping the team pages every innovation, wasting data usage and time). 0. justintv/Twitch-API#99
RE: #24 - List of teams
You mention that you will be adding an endpoint for getting the members of a team. This would be a great addition to have, and something that shouldn't be hard to implement, as you're already using this on the twitch site itself.
Any updates on this?
Thanks!
The text was updated successfully, but these errors were encountered: