Skip to content

Latest commit

 

History

History
116 lines (110 loc) · 7.77 KB

README.md

File metadata and controls

116 lines (110 loc) · 7.77 KB

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(process.env.COINBASE_API_KEY, process.env.COINBASE_API_SECRET);

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

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

All the list of methods