- file_get_contents: documentation ( source)
- print_r: documentation ( source)
- json_encode: documentation ( source)
<?php
$data = file_get_contents('http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=64CDF653E45DFF6144F74EE6501C43A5&steamid=76561198051267973&format=json');
$data = json_encode($data, true);
print_r($data);
?>