Please help w/ an easy question:
Note: I'm not looking to need to Authenticate w/ the full API
https://en.bitcoin.it/wiki/MtGox/API#Authentication1) This URl:
https://mtgox.com/api/0/data/ticker.phpReturns the data in a browser, so it must be possible to do a simple script like this (for example)
<?php
$jsonurl = "https://mtgox.com/api/0/data/ticker.php";
$json = file_get_contents($jsonurl,0,null,null);
$values = json_decode($json, true);
echo $values['ticker']['sell'];
?>
The above just gives a blank page.
This must be easy, can someone please tell me what is wrong?
Thank you very much.