mbrien12 / learning-2017

Place for all my tutorial and practice work, with learning resources, plan and backlog
1 stars 1 forks source link

FCC Projects - build Twitch.tv viewer #42

Closed mbrien12 closed 6 years ago

mbrien12 commented 7 years ago

Hints See an example call to Twitch.tv's JSONP API at http://forum.freecodecamp.com/t/use-the-twitchtv-json-api/19541.

The relevant documentation about this API call is here: https://dev.twitch.tv/docs/v5/reference/streams/#get-stream-by-user.

Here's an array of the Twitch.tv usernames of people who regularly stream: ["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas"]

Due to a change in conditions on API usage explained here Twitch.tv now requires an API key, but we've built a workaround. Use https://wind-bow.gomix.me/twitch-api instead of twitch's API base URL (i.e. https://api.twitch.tv/kraken ) and you'll still be able to get account information, without needing to sign up for an API key.

mbrien12 commented 7 years ago

4 hours on setting up skeleton, displaying list on page and trying to find out live status and update css based on value...

mbrien12 commented 7 years ago

1.5 hours trying to get status working

Try this next time https://medium.freecodecamp.com/building-a-twitchtv-app-project-8824d61fe7a5