i have founded with json
very very thank you !!!!!!!!!
Could you tell us how you did it ?
EDIT
OK have found a way to do it too
$curl = curl_init();
// Set some options
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => 'https://faucetbox.com/api/v1/balance',
CURLOPT_HTTPHEADER, array('Content-Type: application/json'),
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => array(
api_key => '123456789',
currency => 'BTC'
)
));
// Send the request & save response to $resp
$resp = curl_exec($curl);
// Close request to clear up some resources
curl_close($curl);
$json = json_decode($resp, true);
// print_r($json);
?>
Bitcoin Balance
echo $json['balance_bitcoin'];?>