Well it's the following I have the following code that causes it to take all the items / weapons from the inventory of a certain individual and shows it.
Well what I wanted to know is how do I get past the items to tell the status of the item, type:
Sawed-Off | Full Stop (Field-Tested)
My Code:
<?php
$steamid = '76561198103888786';
$destUrl = 'http://steamcommunity.com/profiles/' . $steamid . '/inventory/json/730/2/';
$data = file_get_contents($destUrl, false);
$data = json_decode($data, true);
$data1= array_keys($data['rgDescriptions']);
$data2= $data['rgDescriptions'];
for($i = 0; $i < count($data1); ++$i) {
$items = $data2[$data1[$i]]['name'];
echo $items;
echo "<br>";
}
?>