cryptopia
![Software License][ico-license]
![Code Coverage][ico-code-quality]
, (*1)
An API wrapper for Cryptopia.co.nz, (*2)
Structure
src/
tests/
vendor/
Install
Via Composer, (*3)
$ composer require pxgamer/cryptopia
Usage
Basic methods
Initialise the Basic class., (*4)
$basic = new pxgamer\Cryptopia\Basic();
Retrieve a list of currencies as an array., (*5)
$basic->getCurrencies();
Retrieve a list of trade pairs as an array., (*6)
$basic->getTradePairs();
Retrieve a list of markets as an array., (*7)
$basic->getMarkets();
Retrieve a single market as a stdClass., (*8)
$basic->getMarket();
Retrieve a single market's history as an array., (*9)
$basic->getMarketHistory();
Retrieve a single market's orders as a stdClass., (*10)
$basic->getMarketOrders();
Retrieve a list of market order groups as an array., (*11)
$basic->getMarketOrderGroups();
Change log
Please see CHANGELOG for more information on what has changed recently., (*12)
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*13)
Security
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker., (*14)
Credits
License
The MIT License (MIT). Please see License File for more information., (*15)