2017 © Pedro Peláez
 

library coinbase-exchange

Coinbase Exchange API library

image

ricog/coinbase-exchange

Coinbase Exchange API library

  • Thursday, March 30, 2017
  • by ricog
  • Repository
  • 3 Watchers
  • 4 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Coinbase Exchange API for PHP

A PHP library for communicating with the Coinbase Exchange., (*1)

WARNING: This is a work in progress. Some parts may not work as expected., (*2)

Installation

Composer Install

Require the library in your composer.json. (What is Composer?), (*3)

"require": {
    "ricog/coinbase-exchange": ">=0.1"
}

Manual Install

Download the latest release and require lib/CoinbaseExchange.php., (*4)

require_once('lib/CoinbaseExchange.php');

Usage

Detailed usage can be found in lib/CoinbaseExchange/CoinbaseExchange.php., (*5)

Public endpoints

Public endpoints do not require authentication., (*6)

$exchange = new CoinbaseExchange();
print_r($exchange->getTicker(), 1);

Private endpoints

Private endpoints require authentication. Create an API key at https://exchange.coinbase.com/settings., (*7)

$exchange = new CoinbaseExchange();
$exchange->auth('key', 'passphrase', 'secret');
$exchange->placeOrder('sell', '1200.01', '.25', 'BTC-USD');

Tests

Tests can be run with:, (*8)

./test/runner.sh

TODO

  • [x] Implement public endpoints.
  • [x] Implement private trade enpoints.
  • [ ] Add tests (started).
  • [ ] Implement transfer endpoint.

The Versions

30/03 2017

dev-master

9999999-dev https://github.com/ricog/coinbase-exchange-php

Coinbase Exchange API library

  Sources   Download

MIT

The Development Requires

bitcoin coinbase

30/03 2017

v0.2.0

0.2.0.0 https://github.com/ricog/coinbase-exchange-php

Coinbase Exchange API library

  Sources   Download

MIT

The Development Requires

bitcoin coinbase

29/01 2015

0.1.2

0.1.2.0 http://exchange.coinbase.com

Coinbase Exchange API library

  Sources   Download

MIT

bitcoin coinbase

29/01 2015

0.1.1

0.1.1.0 http://exchange.coinbase.com

Coinbase Exchange API library

  Sources   Download

MIT

bitcoin coinbase

29/01 2015

0.1.0

0.1.0.0 http://exchange.coinbase.com

Coinbase Exchange API library

  Sources   Download

MIT

bitcoin coinbase