title: How get steam nickname via javascript
body: <p>Hello i now using this php code for get steam nicknames</p>
  
  <pre><code>function EchoPlayerName($steamid){
      $xml = simplexml_load_file("http://steamcommunity.com/profiles/$steamid/?xml=1");//link to user xml
      if(!empty($xml)) {
          $username = $xml-&gt;steamID;
          echo $username;
      }
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$steam = file_get_contents("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key={API_KEY}&amp;steamids=$steamid64", true);
  $steamarray = json_decode($steam, true);
  $name = $steamarray['response']['players'][0]['personaname'];
  </code></pre>
  
  <p>but i this using for listing players and loading page is slow
  so i want this data load via javascript after full load page</p>
  
  <p>any ideas?</p>
  
  <p>API example</p>
  
  <pre><code>{"response":{"players":[{"steamid":"76561197964477177","communityvisibilitystate":3,"profilestate":1,"personaname":"The [G]amerX #.","lastlogoff":1558765863,"commentpermission":1,"profileurl":"https://steamcommunity.com/id/gamerxcz/","avatar":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/66/6673d6df066386d232164e8f9a5d9b36cad1d013.jpg","avatarmedium":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/66/6673d6df066386d232164e8f9a5d9b36cad1d013_medium.jpg","avatarfull":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/66/6673d6df066386d232164e8f9a5d9b36cad1d013_full.jpg","personastate":0,"realname":"Community Owner","primaryclanid":"103582791433644720","timecreated":1076786008,"personastateflags":0,"loccountrycode":"CZ"}]}}
  </code></pre>