PHP code example of bitbuy-at / nexpay-api-client
1. Go to this page and download the library: Download bitbuy-at/nexpay-api-client 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/ */
bitbuy-at / nexpay-api-client example snippets
use bitbuyAT\Nexpay\Facade\Nexpay;
$tradingPair = 'BTCEUR';
$prices = Nexpay::getTicker($tradingPair);
$prices->getData();
$prices->askPrice();
$prices->bidPrice();