How to access data in API's

How to access data in API's
0.0 0

#1

I was wondering how do you access the “self” data in this API:
{“stream”:null,"_links":{“self”:“https://api.twitch.tv/kraken/streams/freecodecamp",“channel”:"https://api.twitch.tv/kraken/channels/freecodecamp”}}
Thanks!


#2
var blah = {
  "stream": null,
  "_links": {
    "self": "https://api.twitch.tv/kraken/streams/freecodecamp",
    "channel": "https://api.twitch.tv/kraken/channels/freecodecamp1"
  }
}

console.log(blah._links.self);

hope that helps (?)