Bizwoo, te dejo esto para que puedas mostrar tambien los datos de slush y de BTCGluid:
$apislush = ""; // Introducir aquí el API-Key de Slush pool (mantener "")
$apiguild = ""; // Introducir aquí el API-Key de BTC Guild(mantener "")
?>BTCPit Profit$datosslush = json_decode(file_get_contents("https://mining.bitcoin.cz/accounts/profile/json/".$apislush),true);
function mostrarslush($datosslush){
foreach($datosslush as $slushvar=>$slushval){
if (is_array($slushval)){
echo ''
;
mostrarslush($slushval);
}else{
echo ''
;
}
}
}
mostrarslush($datosslush);
?>Slush | |
---|
'.$slushvar.' | |
---|
'.$slushvar.' | '.$slushval.' |
$datosguild = json_decode(file_get_contents("https://www.btcguild.com/api.php?api_key=".$apiguild),true);
function mostrarguild($datosguild){
foreach($datosguild as $guildvar=>$guildval){
if (is_array($guildval)){
echo ''
;
mostrarslush($guildval);
}else{
echo ''
;
}
}
}
mostrarguild($datosguild);
?>BTCGuild | |
---|
'.$guildvar.' | |
---|
'.$guildvar.' | '.$guildval.' |
Recuerda editar las dos primeras lineas para pegar las claves API que tengas en los diferentes pools.
Supongo que no tendras problemas para adjuntar el wrapper que ya tienes de BitMinter, pero si se te complica avisa
