arispati / indodax
Indodax API
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/arispati/indodax
Requires
- guzzlehttp/guzzle: ^6.3.1|^7.0.1
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
README
PHP library that provide Indodax Public API
API Reference
- Indodax Official API Docs, The Docs.
Requirement
- Laravel 7
How to Install
- Install with composer
composer require arispati/indodax
How to Use
use Arispati\Indodax\Indodax; // Get pairs Indodax::getPairs();
Configuration (optional)
- Publish config
php artisan vendor:publish --provider="Arispati\Indodax\Provider\IndodaxServiceProvider" --tag="config"
Avalable method
// 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);
Testing
composer test