2017 © Pedro Peláez
 

library laravel-bittrex

Bittrex API wrapper for Laravel

image

sadenergizer/laravel-bittrex

Bittrex API wrapper for Laravel

  • Wednesday, June 27, 2018
  • by Mirror4u
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 18 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel-Bittrex

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

Installation

composer require pepijnolivier/laravel-bittrex., (*2)

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

'providers' => [ Pepijnolivier\Bittrex\BittrexServiceProvider::class, ],, (*4)

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

Edit the config/bittrex.php or add Bittrex api and secret in your .env file, (*6)

BITTREX_KEY={YOUR_API_KEY}
BITTREX_SECRET={YOUR_API_SECRET}

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

'aliases' => [
    'Bittrex' => Pepijnolivier\Bittrex\Bittrex::class,
],

Usage

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

use Pepijnolivier\Bittrex\Bittrex;

// public API methods
Bittrex::getMarkets();
Bittrex::getCurrencies();
Bittrex::getTicker($marker);
Bittrex::getMarketSummaries();
Bittrex::getMarketSummary($market);
Bittrex::getOrderBook($market, $type, $depth=20);
Bittrex::getMarketHistory($market);

// Public API 2.0 methods
Bittrex::getValidChartDataTickIntervals();
Bittrex::getChartData($market, $tickInterval='hour');

// market API methods
Bittrex::buyLimit($market, $quantity, $rate);
Bittrex::sellLimit($market, $quantity, $rate);
Bittrex::cancelOrder($uuid);
Bittrex::getOpenOrders($market=null);

// account API methods
Bittrex::getBalances();
Bittrex::getBalance($currency);
Bittrex::getDepositAddress($currency);
Bittrex::withdraw($currency, $quantity, $address, $paymentId=null);
Bittrex::getOrder($uuid);
Bittrex::getOrderHistory($market=null);
Bittrex::getWithdrawalHistory($currency=null);
Bittrex::getDepositHistory($currency=null);

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., (*9)

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., (*10)

BTC: 1N5ET46r5Z4HdfhRjGMp7SpEMPes9S1H9n, (*11)

The Versions

27/06 2018

dev-master

9999999-dev

Bittrex API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

12/09 2017

dev-develop

dev-develop

Bittrex API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

28/08 2017

v1.0.1

1.0.1.0

Bittrex API wrapper for Laravel

  Sources   Download

MIT

The Requires

 

20/05 2017

v1.0

1.0.0.0

Bittrex API wrapper for Laravel

  Sources   Download

MIT

The Requires