Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
contra committed Jan 16, 2017
1 parent b756e3e commit 7e941cd
Showing 1 changed file with 28 additions and 30 deletions.
58 changes: 28 additions & 30 deletions README.md
Expand Up @@ -30,36 +30,34 @@ var acct = bank.account(opt);

// login before doing anything
acct.login(function(err){

});

// get info about your card
// does not give the whole number
acct.card(function(err, card){
console.log('card', card);
});

// get your current account balances
acct.balance(function(err, balance){
console.log('balance', balance);
});

// get information about your linked accounts
// soon you will be able to trigger transfers
// to and from these
acct.external(function(err, accts){
console.log('linked accounts', accts);
});

// get a list of all transactions
// includes name, addr, amount, tip, coordinates, time, etc.
acct.transactions(function(err, trans){
console.log('transactions', trans);
});

// this isnt really all that useful
acct.logout(function(err){

// get info about your card
// does not give the whole number
acct.card(function(err, card){
console.log('card', card);
});

// get your current account balances
acct.balance(function(err, balance){
console.log('balance', balance);
});

// get information about your linked accounts
// soon you will be able to trigger transfers
// to and from these
acct.external(function(err, accts){
console.log('linked accounts', accts);
});

// get a list of all transactions
// includes name, addr, amount, tip, coordinates, time, etc.
acct.transactions(function(err, trans){
console.log('transactions', trans);
});

// this isnt really all that useful
acct.logout(function(err){

});
});
```

Expand Down

0 comments on commit 7e941cd

Please sign in to comment.