Download the PHP package ricog/coinbase-exchange without Composer
On this page you can find all versions of the php package ricog/coinbase-exchange. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ricog/coinbase-exchange
More information about ricog/coinbase-exchange
Files in ricog/coinbase-exchange
Download ricog/coinbase-exchange
More information about ricog/coinbase-exchange
Files in ricog/coinbase-exchange
Vendor ricog
Package coinbase-exchange
Short Description Coinbase Exchange API library
License MIT
Homepage https://github.com/ricog/coinbase-exchange-php
Package coinbase-exchange
Short Description Coinbase Exchange API library
License MIT
Homepage https://github.com/ricog/coinbase-exchange-php
Please rate this library. Is it a good library?
Informations about the package coinbase-exchange
Coinbase Exchange API for PHP
A PHP library for communicating with the Coinbase Exchange.
WARNING: This is a work in progress. Some parts may not work as expected.
Installation
Composer Install
Require the library in your composer.json
. (What is Composer?)
"require": {
"ricog/coinbase-exchange": ">=0.1"
}
Manual Install
Download the latest release and require lib/CoinbaseExchange.php
.
require_once('lib/CoinbaseExchange.php');
Usage
Detailed usage can be found in lib/CoinbaseExchange/CoinbaseExchange.php.
Public endpoints
Public endpoints do not require authentication.
$exchange = new CoinbaseExchange();
print_r($exchange->getTicker(), 1);
Private endpoints
Private endpoints require authentication. Create an API key at https://exchange.coinbase.com/settings.
$exchange = new CoinbaseExchange();
$exchange->auth('key', 'passphrase', 'secret');
$exchange->placeOrder('sell', '1200.01', '.25', 'BTC-USD');
Tests
Tests can be run with:
./test/runner.sh
TODO
- [x] Implement public endpoints.
- [x] Implement private trade enpoints.
- [ ] Add tests (started).
- [ ] Implement transfer endpoint.
All versions of coinbase-exchange with dependencies
PHP Build Version
Package Version
No informations.
The package ricog/coinbase-exchange contains the following files
Loading the files please wait ....