2017 © Pedro Peláez
 

library btc-exchange

A PHP Service for connecting to various Bitcoin exchange API's

image

delboy1978uk/btc-exchange

A PHP Service for connecting to various Bitcoin exchange API's

  • Saturday, January 20, 2018
  • by delboy1978uk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 50 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

BTCExchange

Build Status Code Coverage Scrutinizer Code Quality
a btcexchange PHP setup for writing a new Github project with Composer and Packagist complete with travis builds and scrutinizer code coverage & quality analysis A PHP Service for connecting to various Bitcoin exchange API's, (*1)

Installation

composer require delboy1978uk/btcexchange

Usage

use Del\BTCTradeApi;

$settings = [
    'btce' => [
        'key' => 'blah',
        'secret' => 'blah',
    ],
    'kraken' => [
        'key' => 'blah',
        'secret' => 'blah',
    ],
    //etc. BTC-e is the only API currently written, more coming soon
]
$api = new BTCTradeApi($settings);

$btce = $api->getBtcEExchange();
$result = $btce->buyOrder(3.2, 240.221); // Buy 3.2BTC at a price of $240.221 per Bitcoin 

API Methods

$btce->buyOrder($btc_amt, $price);
$btce->cancelOrder($id);
$btce->getInfo();
$btce->getOrders();
$btce->getTicker();
$btce->getTradeHistory();
$btce->getTransactionHistory();
$btce->sellOrder($btc_amt, $price);

The Versions

20/01 2018

dev-master

9999999-dev

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean

10/01 2018

v0.0.5

0.0.5.0

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean

10/01 2018

v0.0.4a

0.0.4.0-alpha

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean

09/01 2018

v0.0.3a

0.0.3.0-alpha

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean

09/01 2018

v0.0.2a

0.0.2.0-alpha

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean

13/10 2015

v0.0.1a

0.0.1.0-alpha

A PHP Service for connecting to various Bitcoin exchange API's

  Sources   Download

MIT

The Requires

 

The Development Requires

by Derek McLean