coinbase-service

Wrapper for the coinbase bitcoin wallet & exchange API

Coinbase

Coinbase is a wrapper around the Coinbase.com bitcoin wallet and exchange API.

Require coinbase

var CoinbaseApi = require('coinbase-service');
var coinbase = new CoinbaseApi({
  APIKey: process.env.COINBASE_API_KEY,
  APISecret: process.env.COINBASE_API_SECRET
});

I will not explain the method by method. I'll make a simple explanation!

coinbase[method]([object], function(errdata){
  // buttons except 
});
coinbase[method][get|balance|delete|refunds|commit|cancel|complete|resend](id, function(errdata){
  // More 
});
coinbase[method][create|OAuth2|sendMoney|transferMoney|button|redeem]({
  // Your arguments 
}, function(errdata){
  // More 
});
coinbase[method][update|sell](id, {
  // Your arguments 
}, function(errdata){
  // More 
});

All the list of methods