title: How to extract JSON data from a URL
body: <p>I am trying to extract data from the following URL:
  <a href="http://content.warframe.com/dynamic/worldState.php" rel="nofollow">http://content.warframe.com/dynamic/worldState.php</a></p>
  
  <p>... however I can't quite figure out exactly how.</p>
  
  <p>The link contains JSON data which the developers of the online game <strong>Warframe</strong> make available. Basically it just shows server information, among other game-related info.</p>
  
  <p>Here's a snippet of the first part of it:</p>
  
  <pre><code>{
    "Version": 9,
    "BuildLabel": "2014.08.06.16.27/7muOn6ZYQ4Brw+vtYhsKYQ",
    "Time": 1407561753,
    "Events": [
      {
        "_id": {
          "$id": "5398e94d075fcb5d2afc5737"
        },
        "Msg": "Loki Prime Access! ",
        "Prop": "https://warframe.com/prime-access",
        "Date": {
          "sec": 1402529771,
          "usec": 0
        }
      },
  </code></pre>
  
  <p>I'm trying to figure out how I can extract the data into a spreadsheet. From what I <em>(think)</em> I understand, I need to use JavaScript from within HTML to convert / extract the JSON code and parse it into a more easily-read format? I'm just not sure how quite to go about doing this, and I would love if someone could share a working example - perhaps a bit of code which would extract the "9" out of the "Version"?</p>
  
  <p>I am clearly a beginner when it comes to programming. I know HTML / CSS fairly well, however I have basically <strong>no</strong> JavaScript experience. I'd like to learn more about JavaScript and JSON, and I always feel the best way to learn is to combine it with something you enjoy - in this case, the game I play.</p>
  
  <p>If more information would be helpful, please let me know and I will try my best.</p>
  
  <p>Thanks in advance!</p>