An API wrapper for Cryptopia.co.nz
src/
tests/
vendor/
Via Composer
$ composer require pxgamer/cryptopia
Initialise the Basic
class.
$basic = new pxgamer\Cryptopia\Basic();
Retrieve a list of currencies as an array
.
$basic->getCurrencies();
Retrieve a list of trade pairs as an array
.
$basic->getTradePairs();
Retrieve a list of markets as an array
.
$basic->getMarkets();
Retrieve a single market as a stdClass
.
$basic->getMarket();
Retrieve a single market's history as an array
.
$basic->getMarketHistory();
Retrieve a single market's orders as a stdClass
.
$basic->getMarketOrders();
Retrieve a list of market order groups as an array
.
$basic->getMarketOrderGroups();
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.