PHP code example of dvomaks / laravel-livecoin
1. Go to this page and download the library: Download dvomaks/laravel-livecoin 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/ */
dvomaks / laravel-livecoin example snippets
'providers' => [
Dvomaks\Livecoin\LivecoinServiceProvider::class,
],
'aliases' => [
'Livecoin' => Dvomaks\Livecoin\Livecoin::class,
],
$params = array(...);
Livecoin::exchangeTicker($params);
Livecoin::exchangeLastTrades($params);
Livecoin::exchangeOrderBook($params);
Livecoin::exchangeAllOrderBook($params);
Livecoin::exchangeMaxbidMinask($params);
Livecoin::exchangeRestrictions($params);
Livecoin::infoCoinInfo();
Livecoin::exchangeTrades($params);
Livecoin::exchangeClientOrders($params);
Livecoin::exchangeOrder($params);
Livecoin::paymentBalances($params);
Livecoin::paymentBalance($params);
Livecoin::paymentHistoryTransactions($params);
Livecoin::paymentHistorySize($params);
Livecoin::exchangeCommissions();
Livecoin::exchangeCommissionCommonInfo();
Livecoin::exchangeBuylimit($params);
Livecoin::exchangeSelllimit($params);
Livecoin::exchangeBuymarket($params);
Livecoin::exchangeSellmarket($params);
Livecoin::exchangeCancellimit($params);
Livecoin::paymentGetAddress($params);
Livecoin::paymentOutCoin($params);
Livecoin::paymentOutPayeer($params);
Livecoin::paymentOutCapitalist($params);
Livecoin::paymentOutAdvcah($params);
Livecoin::paymentOutCard($params);
Livecoin::paymentOutOkpay($params);
Livecoin::paymentOutPerfectmoney($params);
Livecoin::paymentVoucherMake($params);
Livecoin::paymentVoucherAmount($params);
Livecoin::paymentVoucherRedeem($params);
use Dvomaks\Livecoin\Livecoin;
$data = Livecoin::exchangeLastTrades([
'currencyPair' => 'BTC/USD',
'minutesOrHour' => 'true',
'type' => 'BUY',
]);
dd($data);