PHP client api for Cryptopia
I am NOT associated, I repeat NOT associated to Cryptopia. Please use at your OWN risk.
Want to help me? You can tip me :)
- BTC: 1B27qUNVjKSMwfnQ2oq9viDY1hE3JY6XmQ
- Documentation Public Api : https://www.cryptopia.co.nz/Forum/Thread/255
- Documentation Private Api : https://www.cryptopia.co.nz/Forum/Thread/256
- PHP 5.3.x
- Curl
- Valid api token at Cryptopia
- Rename 'config.example.inc.php' to config.inc.php.
- Edit your key and secret in config.inc.php.
$cryptopia = new CryptopiaApi($apiKey , $apiSecret );
$result = $cryptopia->getBalance(array("currency" => "BTC"));