PHP code example of briones / bitso-api-php
1. Go to this page and download the library: Download briones/bitso-api-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
briones / bitso-api-php example snippets
use App\Entity\BitsoPublicApi
$bitsoClient = new BitsoClient('https://api.bitso.com/v3/');
$bitsoPublicApi = new BitsoPublicApi();
$availableBooks = $bitsoPublicAPI->getAvailableBooks(['book'=>'btc_mxn','aggregate'=> 'true']);
use App\Entity\BitsoPublicApi;
$bitsoClient = new BitsoClient('https://api.bitso.com/v3/');
$bitsoPrivateApi = new BitsoPrivateApi('YOUR_PRIVATE_KEY', 'YOUR_SECRET_KEY');
$accountStatus = $bitsoPrivateApi->getAccountStatus();
json
{
"riones/bitsoAPI-php": "master"
}
}