mbbank
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

MBBank

EN: An unofficial fully promise-based API wrapper for Vietnam Military Commercial Joint Stock Bank (MBBank, MB).

VN: Promise-based API wrapper không chính thức dành cho Ngân hàng Quân Đội (MB). Đọc phiên bản tiếng Việt

Warning: For using this library, your MB account maybe suspended for malicious activities. We do not take any responsibility for your account.

Introduction

This library is to help you to interact with MB's API in a easier way and you can create a payment gateway for yourself.

Requirement

For Python

This library is based/inspired from Python lib MBBank by The DT.

Thư viện này một phần được dựa trên dự án MBBank của The DT.

Examples

Get account balance

(async () => {
    const { MB } = require("mbbank");
    
    const mb = new MB({ username: "0123456789", password: "foobar" });

    await mb.getBalance();
})()

Get transaction history

(async () => {
    const { MB } = require("mbbank");
    
    const mb = new MB({ username: "0123456789", password: "foobar" });

    await mb.getTransactionsHistory({ accountName: "1234567890", fromDate:"dd/mm/yyyy", toDate: "dd/mm/yyyy" });
})()

Donations

If you think this is helpful for you, you can give me a cup of coffee via bank account: 0974163549 - MB - TRAN DINH TUYEN or MoMo wallet: 0888929537

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i mbbank

Weekly Downloads

1

Version

1.4.0

License

MIT

Unpacked Size

23.8 kB

Total Files

18

Last publish

Collaborators

  • cookiegmvn