https://github.com/knowbee/rwbanks
💸npm package to get a list of Licensed banks from Rwanda with their corresponding swift code, address, contact info, ussd code and bank code
https://github.com/knowbee/rwbanks
banki banking banks rwanda
Last synced: 5 months ago
JSON representation
💸npm package to get a list of Licensed banks from Rwanda with their corresponding swift code, address, contact info, ussd code and bank code
- Host: GitHub
- URL: https://github.com/knowbee/rwbanks
- Owner: knowbee
- License: mit
- Created: 2020-04-27T06:52:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T13:07:38.000Z (over 4 years ago)
- Last Synced: 2025-10-30T16:37:49.317Z (8 months ago)
- Topics: banki, banking, banks, rwanda
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/rw-banks
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# rw-banks
[](https://travis-ci.com/knowbee/rwbanks)
[](https://github.com/ellerbrock/open-source-badge/)
[](https://github.com/ellerbrock/open-source-badge/)
A lightweight npm package that can be used to get list of licensed banks from Rwanda and their corresponding swift code, address, contact information, ussd code and bank code.
## Installation
```
yarn add rw-banks
```
or
```
npm i rw-banks --save
```
or
## Usage
```js
const { getBanks, getBank } = require("rw-banks");
```
## Examples
```js
const { getBanks, getBank } = require("rw-banks");
const banks = getBanks(); // array of licensed banks
getBanks((error, banks) => {
console.log(banks); // array of licensed banks with callback
});
// get bank by swift code
const bank = getBank("BKIGRWRW");
getBank("BKIGRWRW", (error, bank) => {
console.log(bank);
});
// {
// name: 'BANK OF KIGALI LIMITED',
// swift_code: 'BKIGRWRW',
// bank_code: 'BKIG',
// address: 'KN 4 Ave, Kigali, Rwanda',
// postal_code: '175',
// phone_number: '+250788143000',
// toll_free: '4455',
// email_address: 'bk@bk.rw',
// ussd_code: '*334#'
// }
```
## Contribution
- Please before making a PR, read first this [Contributing Guideline](./CONTRIBUTING.md)
## License
MIT
## Author
Igwaneza Bruce