🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

svb-accounts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svb-accounts

Silicon Valley Bank API helper

1.1.1
latest
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

svb-accounts

Silicon Valley Bank API helper

Uses SVB-Client library and your API credentials

Usage

const SVBClient = require('svb-client');
const SVBAccounts = require('svb-accounts');

let client = new SVBClient({
  API_KEY: '',
  HMAC_SECRET: ''
});
let Accounts = new SVBAccounts(client);

Accounts.get(accountID, (err, accountInfo) => {
  ...  
});

Accounts.all((err, accountsInfo) => {
  for (var i = 0; i < accountsInfo.length; i++) {
    ...
  }
});

Accounts.transactions(accountID, {}, (err, data) => {
  // data.transactions = []
  // data.links = {
  //   first: '',
  //   next: ''
  // }
}
});
// optional filters
filters = {
  start_date: '2017-05-05',
  end_date: '2017-05-10'
}
Account.transactions(accountID, filters, callback);

Installation

npm install svb-accounts --save

FAQs

Package last updated on 13 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts