-
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
Streams list response empty when including client_id #281
Comments
|
Not exactly a bug, more like unintended functionality. The streams API also accepts a This is one of the reason the only supported method of passing the client ID is as an HTTP header. |
@bashtech thanks for pointing this out. I haven't seen anything in the documentation about it. Are you merely suggesting that its the best method or is there a header key I can pass the client ID to? |
|
See https://github.com/justintv/Twitch-API/blob/master/README.md#rate-limits On Nov 21, 2014, at 1:11 PM, Levi McCallum notifications@github.com wrote: This is one of the reason the only support method of passing the client ID — |
|
@bashtech that's absolutely hilarious, because it's contrary to the recommendation of the rest of the docs. I'll put together a pull request to make this more known! EDIT: Would be great to have someone from the Twitch API team chime in here and let us know what the prefered method of client_id submission is. Some places I see it being used as a GET param and only one occasion do I see it recommended as a header value. I think it would make the most sense for this key to be a header value at all times, since it would clean up request URLs. |
|
Ok, I see what's happening here. Not so much a bug, but a documented query for the |
When I access the current live streams via
I receive a response with an empty array of streams. However, if I remove the
client_idparameter, the response will return an array of streams as expected. This appears to be a bug.The text was updated successfully, but these errors were encountered: