ispis
v2.0.0
Published
node.js client for [ispis.cz](https://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
Downloads
10
Maintainers
Readme
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>`, // [email protected] - your sign up credentials
password: `<password>` // [email protected] - 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);
}