Hello I am trying to echo the "avrage_price" price of a item but i don't know why my code isnt working, Help would be great. here is my code,
($name is a valid variable that when i echo works)
(i put myKey where i would normally put my key to hide my key)
$apiUrl = "http://ift.tt/2bvYK7s";
$jsonApi = json_decode(file_get_contents($apiUrl));
echo $jsonApi['avrage_price'];
Aucun commentaire:
Enregistrer un commentaire