API access info problem

Hello, I just can’t seem to get down API. I just can’t seem to access the information correctly. Can anyone tell me what I am doing wrong? I am trying to access display name at the very bottom of my JavaScript but nothing is showing up.

The data variable is an array of objects. so depending on which object in the array you want to display the name for, you would need to refer to the applicable index.

For example, if you wanted to display the name of the 1st element (object) in the data array, you would write:

$("#stream1").html(data[0].stream.display_name);

Thank you very much!