Get JSON Data with PHP
<?php
$url = 'https://teamtreehouse.com/rafaelperaltajr.json'; // path to your JSON file
$json_data = file_get_contents($url); // put the contents of the file into a variable
$data = json_decode($json_data); // decode the JSON feed
echo number_format($data->points->total);
?>