@iampierrot/bankapi
v0.0.4
Published
call api from casso
Downloads
9
Readme
Bank API supports those who use Casso API in order to interact with bank account in faster and easier way.
Table of Contents
⚙️ Requirement
This api may target commonJs/ES app. You have to create an account on Casso and link your bank account to its application.
💾 Installation
Using npm
npm install @iampierrot/bankapi
🔨 Quick Start
CommonJs
const { BankApi } = require('@iampierrot/bankapi');
async function main() {
/**
* @property Api Key may a "Apikey 'token' " or just 'token'.
*/
const bankClient = new BankApi("Your api key here");
const transaction = await bankClient.getTransaction();
console.log(transaction);
}
ES Mode
import { BankApi } from "@iampierrot/bankapi";
async function main() {
/**
* @property Api Key may a "Apikey 'token' " or just 'token'.
*/
const bankClient = new BankApi("Your api key here");
const transaction = await bankClient.getTransaction();
console.log(transaction);
}
[!NOTE] Module and ES have the same syntax.
📖 Documentation
Read source code please I am very lazy to write documentation
Docs will be updated in near future.
💁♂️ Contacts
If you have any questions about package or something else, feel free to contact me through email.
Contributing
Bank API is developed in the open on Github, and I am welcome to the community for contributing bugfixes and innovations in near future.
Read below to know how you can participate in improving Bank API.
Support by creating issue
You can create an issue on this respositories for bugfixes and improvements as well.
License
This package using MIT LICENSE
Thank you for using my package.
Peace and love <3