I am a complete noob to PHP. But I just wanted to know how can you use the BlockChain API to get your wallet balance. I tried but could get no result. I do not even know how to print it. Please help. This is my current code :-
<?php
$guid="xxxxxxxxx";
$main_password="xxxxxxxxx";
$json_url = "https://blockchain.info/merchant/$guid/balance?password=$main_password";
$json_data = file_get_contents($json_url);
$json_feed = json_decode($json_data);
$message = $json_feed->message;
?>
And what exactly is the guid? Is it the wallet identifier?