1.0.1 • Published 2 years ago
niris v1.0.1
NIRIS
Node Iris Package
How to install dependency
npm i niris
Usage
const { http } = require('niris')
/**
* @params apiVersion: api version
* @params apiKey: iris API KEY
*/
const client = http(apiVersion, apiKey)
// sample
client
.get(`/account_validation?bank=danamon&account=111112222222`)
.then(res => res.json(response.data))
.catch(err => res.json(error.message))
Note: you should change bank and account params with the correct ones, based on the iris docs.