nodejs-klikbca-parser

1.0.6 • Public • Published

nodejs-klikbca-parser

Plugin untuk membantu anda mendapatkan informasi saldo terakhir rekening BCA anda serta mutasi rekening BCA anda pada hari itu melalui KlikBCA.

Cara Install

npm install --save nodejs-klikbca-parser

Penggunaan

const bca = require('nodejs-klikbca-parser');

Cek Saldo Terakhir

bca
  .getBalance(USERNAME, PASSWORD)
  .then(res => {
    console.log('saldo ', res);
  })
  .catch(err => {
    console.log('error ', err);
  });

Cek Settlement Pada Hari Itu

bca
  .getSettlement(USERNAME, PASSWORD)
  .then(res => {
    console.log('settlement ', res);
  })
  .catch(err => {
    console.log('error ', err);
  });

Cek Settlement & Saldo Terakhir

bca
  .getAll(USERNAME, PASSWORD)
  .then(({settlement, balance}) => {
    console.log('settlement ', settlement);
    console.log('balance ', balance)
  })
  .catch(err => {
    console.log('error ', err)
  })

License

MIT

Author

Original Author Achmad Apriady

Modified by Hosea Jovian

Package Sidebar

Install

npm i nodejs-klikbca-parser

Weekly Downloads

5

Version

1.0.6

License

MIT

Unpacked Size

11.3 kB

Total Files

9

Last publish

Collaborators

  • hoseajsap