2017 © Pedro Peláez
 

library laravel-livecoin

Livecoin API wrapper for Laravel

image

dvomaks/laravel-livecoin

Livecoin API wrapper for Laravel

  • Tuesday, July 17, 2018
  • by dvomaks
  • Repository
  • 2 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel-Livecoin

Start trading on Livecoin right away using your favorite PHP framework., (*1)

Installation

composer require dvomaks/laravel-livecoin., (*2)

Add the service provider to your config/app.php:, (*3)

 'providers' => [
    Dvomaks\Livecoin\LivecoinServiceProvider::class,
 ],

...run php artisan vendor:publish to copy the config file., (*4)

Edit the config/livecoin.php or add Livecoin api and secret in your .env file, (*5)

LIVECOIN_KEY={YOUR_API_KEY}
LIVECOIN_SECRET={YOUR_API_SECRET}

Add the alias to your config/app.php:, (*6)

'aliases' => [
    'Livecoin' => Dvomaks\Livecoin\Livecoin::class,
],

Usage

Please refer to the Api Documentation for more info, or read the docblocks !, (*7)

$params = array(...);

Public data documentation, (*8)

Livecoin::exchangeTicker($params);
Livecoin::exchangeLastTrades($params);
Livecoin::exchangeOrderBook($params);
Livecoin::exchangeAllOrderBook($params);
Livecoin::exchangeMaxbidMinask($params);
Livecoin::exchangeRestrictions($params);
Livecoin::infoCoinInfo(); 

Private user data documentation, (*9)

Livecoin::exchangeTrades($params);
Livecoin::exchangeClientOrders($params);
Livecoin::exchangeOrder($params);
Livecoin::paymentBalances($params);
Livecoin::paymentBalance($params);
Livecoin::paymentHistoryTransactions($params);
Livecoin::paymentHistorySize($params);
Livecoin::exchangeCommissions();
Livecoin::exchangeCommissionCommonInfo();

Open/cancel orders documentation, (*10)

Livecoin::exchangeBuylimit($params);
Livecoin::exchangeSelllimit($params);
Livecoin::exchangeBuymarket($params);
Livecoin::exchangeSellmarket($params);
Livecoin::exchangeCancellimit($params);

Deposit and withdrawal documentation, (*11)

Livecoin::paymentGetAddress($params);
Livecoin::paymentOutCoin($params);
Livecoin::paymentOutPayeer($params);
Livecoin::paymentOutCapitalist($params);
Livecoin::paymentOutAdvcah($params);
Livecoin::paymentOutCard($params);
Livecoin::paymentOutOkpay($params);
Livecoin::paymentOutPerfectmoney($params);

Vouchers documentation, (*12)

Livecoin::paymentVoucherMake($params);
Livecoin::paymentVoucherAmount($params);
Livecoin::paymentVoucherRedeem($params);

Example

To retrieve information on the latest transactions for a specified currency pair., (*13)


use Dvomaks\Livecoin\Livecoin; $data = Livecoin::exchangeLastTrades([ 'currencyPair' => 'BTC/USD', 'minutesOrHour' => 'true', 'type' => 'BUY', ]); dd($data);

This package is provided as-is. Do with it what you want ! PR's will be looked into. I personally believe in freedom and equality, which is one of the reasons I'm in crypto. It's also the reason I'm sharing most of the reusable code I write., (*14)

If you're feeling generous, you can always leave a tip. Any satoshi will do. May the chain be with you. And may you be with the chain., (*15)

BTC 1NEXi3RS95ggjxFNeDpx6G76pRaJovYk2v, (*16)

The Versions

17/07 2018

dev-master

9999999-dev

Livecoin API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Avatar dvomaks

17/07 2018

1.01

1.01.0.0

Livecoin API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Avatar dvomaks

20/04 2018

1.0

1.0.0.0

Livecoin API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Avatar dvomaks

05/11 2017

dev-dev

dev-dev

Livecoin API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

by Avatar dvomaks