Skip to content

arispati/Indodax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indodax API

PHP library that provide Indodax Public API

API Reference

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