Looking to hire Laravel developers? Try LaraJobs

laravel-cryptoexchange maintained by adman9000

Description
Cryptoexchange Trading integration for Laravel
Author
Last update
2018/08/26 19:19 (dev-withdrawals)
License
Links
Downloads
9

Comments
comments powered by Disqus

laravel-cryptoexchange

Crypto trading via multiple exchanges for Laravel

Install

Install via Composer

composer require adman9000/laravel-cryptoexchange

Requires

https://github.com/adman9000/laravel-binance

https://github.com/adman9000/laravel-cryptopia

https://github.com/adman9000/laravel-kraken

https://github.com/adman9000/laravel-bittrex

Features

Price tickers, markets and currencies

Allows consistent interaction between multiple cryptoexchange APIs. Currently works with Binance, Kraken, Bittrex, Cryptopia.

Usage

Pass the exchange name in as the first parameter on the constructor, API key and secret as 2nd & 3rd if needed.

$exchange = new Exchange('kraken', $key, $secret);
$data = $exchange->getCurrencies();

Returned data will be consistently in the following format:

[
'success' => boolean,
'fail' => boolean,
'errors' => array(),
'data' => array()
]