# mbank-api

> library for connecting to mbank through your internetbanking credentials

Latest version **1.2.1** (published 2018-11-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install mbank-api
pnpm add mbank-api
yarn add mbank-api
bun add mbank-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2018-11-22 |
| First published | 2018-11-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 124.8 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | refi93 |
| Maintainers | refi93 |
| Keywords | mbank |

## Links

- npm: https://www.npmjs.com/package/mbank-api
- Repository: https://github.com/refi93/mbank-api
- Homepage: https://github.com/refi93/mbank-api#readme
- Issues: https://github.com/refi93/mbank-api/issues
- npm.io page: https://npm.io/package/mbank-api

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.18.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11

## Recent versions

- 1.2.1 (latest) — 2018-11-22
- 1.2.0 — 2018-11-22
- 1.1.1 — 2018-11-20
- 1.1.0 — 2018-11-20
- 1.0.1 — 2018-11-19

## README

# mbank-api

NodeJs library to interact with mBank internet banking api. Very basic functionality.

Example:

```
const Mbank = require('mbank-api)

const mbankSession = new Mbank('sk', 'johndoe', 'superstrongpwd')
await mbankSession.login()

console.log(await mbankSession.getAccountByIban('myiban'))
/*
outputs something like this: 
{ cID: 'SK8483600556293256363563',
  cProductName: 'mKonto',
  cSubTitle: '',
  cAccountNumberForDisp: 'SK84 8360 0556 2932 5636 3563',
  mBalance: 218234.32,
  mAvailableBalance: 218231.93,
  mOwnBalance: 218231.93,
  cCurrency: 'EUR',
  isAuxiliary: false,
  actions:
   [ { url: 'GetTransferOwn', name: 'transfer.own' },
     { url: 'GetTransferDomestic', name: 'transfer.domestic' },
     { url: 'GetAccountHistory', name: 'history' } ],
  cProductCode: '42',
  cSubproductCode: '0202' }
*/
```

---
_Source: https://npm.io/package/mbank-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
