PHP library that provide Indodax Public API
- Indodax Official API Docs, The Docs.
- Laravel 7
- Install with composer
composer require arispati/indodax
use Arispati\Indodax\Indodax;
// Get pairs
Indodax::getPairs();
- Publish config
php artisan vendor:publish --provider="Arispati\Indodax\Provider\IndodaxServiceProvider" --tag="config"
// 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);
composer test