Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashiknesin/hdfc-bank-api

Unofficial HDFC bank API to get recent transactions
https://github.com/ashiknesin/hdfc-bank-api

Last synced: 5 days ago
JSON representation

Unofficial HDFC bank API to get recent transactions

Awesome Lists containing this project

README

        

# hdfc-bank-api

> Unofficial HDFC bank API

## Install

```
$ npm install hdfc-bank-api
```

## Usage

```js
const HDFCApi = require('hdfc-bank-api');
const { HDFC_NETBANKING_USERNAME, HDFC_NETBANKING_PASSWORD } = process.env;

(async () => {
const hdfc = new HDFCApi({username:HDFC_NETBANKING_USERNAME,password:HDFC_NETBANKING_PASSWORD});
const res = await hdfc.getTransactions();
console.log(JSON.stringify(res, null, 4));
await hdfc.logout();

})();

```

## API

### getTransactions()
Get last 6 months transactions

## License

MIT © [Ashik Nesin](https://ashiknesin.com)