Use Twitch.tv JSON API Project Issues

Use Twitch.tv JSON API Project Issues
0.0 0

#1

I’m working on this project now and since it is suggested to use the third party api in lieu of registering for a twitch.tv api key, I don’t think one of the user stories works now. The json response for one of the suggested closed account users (comster404) is as follows:

{“stream”:null,"_links":{“self”:“https://api.twitch.tv/kraken/streams/comster404",“channel”:"https://api.twitch.tv/kraken/channels/comster404”}}

this is the same response as an active offline account, so I don’t see a way to distinguish between the two.

Another minor issue is that the video shows a bonus user story to search for users via text input which isn’t shown in the current project objective list.


#2

You may need to make more than one API call. Try using the /users endpoint.