ispis
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

ispis

node.js client for ispis.cz to do background check of a person or company - written in TS ✔️ - handling authentication ✔️ - more friendly API ✔️ - normalized input data ✔️ - TODO: make batch API call - TODO: make downloadFile API call

Install

npm i ispis

Basic usage

// commonJS
const Ispis = require('ispis').default;
// ES6 modules
import Ispis from 'ispis';

const ispis = new Ispis({
    login: `<username>`, // xx@xx.cz - your sign up credentials
    password: `<password>` // xx@xx.cz - your sign up password
});

// ...
try {
    const data = await ispis.searchPerson({
      profile: "Devel", // Devel = development | CEE | CRE
      firstName: "Tomáš",
      lastName: "Novák",
      birthDate: new Date(`06.16.1975`),
    });

} catch (err) {

    console.error(err);
}

// ...
try {
    const data = await ispis.searchCompany({
      profile: "Devel",
      IC: "26185610"
    });
} catch (err) {

    console.error(err);
}

Package Sidebar

Install

npm i ispis

Weekly Downloads

1

Version

2.0.0

License

BSD-3-Clause

Unpacked Size

26 kB

Total Files

15

Last publish

Collaborators

  • maielo