Hey Hey -
After looking at the previous projects and reviewing the API docs, I decided to approach the project a bit differently. Most are declaring an array with the channels as array elements. In my mind this didn’t seem very useful, so I decided to first use the search api to find a relevant channel (no problem there) and display the results (again, no problem there). I’m having a hell of a time figuring out how to then call the streams api and get the status added to each channel object. I think I need to do something with promises, or deferred objects, but I can’t quite get it…
Here is the pen…
http://codepen.io/chadagate-1471204219/pen/GjRvXN
I’ve removed all of the rendering code, and am just trying to see if I can get the online property added to the array of channel objects… Any advice, hints, or comments are appreciated!
Chad