このphpのスクリプトで助けてほしい
まさにそれをやる、簡単なスクリプトを書いた。できるだけ単純で分かりやすくしたつもりだ。
<?php
$json = file_get_contents('https://data.mtgox.com/api/1/generic/order/lag');
$result = json_decode($json,true);
echo sprintf("%01.2f minutes", $result['return']['lag_secs'] / 60);
?>