Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamyordan/id-bank-scraper
Scraper for some Indonesian banks and e-payments written in Node / Javascript
https://github.com/adamyordan/id-bank-scraper
Last synced: 6 days ago
JSON representation
Scraper for some Indonesian banks and e-payments written in Node / Javascript
- Host: GitHub
- URL: https://github.com/adamyordan/id-bank-scraper
- Owner: adamyordan
- Created: 2018-05-15T09:31:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-09T08:53:37.000Z (over 2 years ago)
- Last Synced: 2024-11-07T09:43:50.887Z (about 2 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Indonesia Bank Scrapers
===
This node module contains the scraper for some Indonesian banks and e-payments. That's the plan at least. Currently only the following is supported:
- BPTN JeniusGetting Started
===
Install package from npm:
```
npm install id-bank-scraper
```Then you can simply import and use it in your node module:
```
const JeniusScraper = require('id-bank-scraper/jenius')const credential = {
email: [email protected],
password: your_jenius_password
}JeniusScraper.getHistory(credential).then(data => {
console.log(data)
})
```Command Line Interface
===
You can also use this module independently
```
git clone https://github.com/adamyordan/id-bank-scraper.git
cd id-bank-scraper
npm i
node index.js -b jenius -e -p
```
The output will be writtent o `output` directory.Data Structure
===
The structure of resulting history data is as follows:
```
{
id: string, // transaction id
amount: int, // transaction amount
note: string, // transcaction note
debitCredit: string, // 'DEBIT' or 'CREDIT'
createdAt: string, // 'ISO date string'
partnerName: string, // recipient or sender name
partnerAccount: string, // recipient or sender account
partnerOrg: raw.partner.org, // recipient or sender organization
}
```License
===
The MIT license