Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ashiknesin/hdfc-bank-api
- Owner: AshikNesin
- License: mit
- Created: 2019-08-12T18:26:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T18:29:06.000Z (over 5 years ago)
- Last Synced: 2024-11-06T12:24:33.803Z (11 days ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hdfc-bank-api
- Size: 3.91 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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)