title: Using steamlytics API to echo price of item
body: <p>Hello I am trying to echo the "avrage_price" price of a item but I don't know why my code isn’t working, Help would be great. here is my code, </p>
  
  <p>($name is a valid variable that when i echo works)</p>
  
  <p>(I put myKey where I would normally put my key to hide my key)</p>
  
  <pre><code>$apiUrl = "http://api.csgo.steamlytics.xyz/v1/prices/$name?key=myKey";
  $jsonApi = json_decode(file_get_contents($apiUrl));
  
  echo $jsonApi['avrage_price'];
  </code></pre>