PHP code example of arispati / indodax
1. Go to this page and download the library: Download arispati/indodax 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/ */
arispati / indodax example snippets
use Arispati\Indodax\Indodax;
// Get pairs
Indodax::getPairs();
// Get server time
Indodax::getServerTime();
// Get pairs
Indodax::getPairs();
// Get price increments
Indodax::getPriceIncrements();
// Get summaries
Indodax::getSummaries();
// Get ticker
Indodax::getTicker($pairID);
// Get all tickers
Indodax::getAllTickers();
// Get trades
Indodax::getTrades($pairID);
// Get depth
Indodax::getDepth($pairID);
bash
php artisan vendor:publish --provider="Arispati\Indodax\Provider\IndodaxServiceProvider" --tag="config"