@porichoy/sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Porichoy SDK

Installation

npm i @porichoy/sdk;

Usage

Autofill

const PorichoySdk = require("@porichoy/sdk");
const porichoySdk = new PorichoySdk("<API KEY>");

porichoySdk.autofill({
  nidNumber: "1234567895",
  dateOfBirth: "1973-04-14",
})
.then(response => console.log(response))
.catch(error => console.error(error.response))

Basic

const PorichoySdk = require("@porichoy/sdk");
const porichoySdk = new PorichoySdk('<API KEY>');

porichoySdk.basic({
  person_dob: "1973-04-14",
  national_id: "1234567895",
  person_fullname: "Abdur Rahman",
  team_tx_id: "Any random and unique transaction id",
  match_name: false,
})
.then(response => console.log(response))
.catch(error => console.error(error.response))

Package Sidebar

Install

npm i @porichoy/sdk

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

16.2 kB

Total Files

29

Last publish

Collaborators

  • porichoyteam
  • nurulhudaapon