About SDK and license
SDK
To get the API version use:
DocumentReader.getAPIVersion(
function (str) { console.log(str) },
);
To get the Core version use:
DocumentReader.getCoreVersion(
function (str) { console.log(str) },
);
To get the Core mode use:
DocumentReader.getCoreMode(
function (str) { console.log(str) },
);
Allows you to get database id, e.g. KAZ:
DocumentReader.getDatabaseID(
function (str) { console.log(str) },
);
To get the database version use:
DocumentReader.getDatabaseVersion(
function (str) { console.log(str) },
);
Allows you to get the database export date:
DocumentReader.getDatabaseDate(
function (str) { console.log(str) },
);
To get the list of supported database documents use:
DocumentReader.getDatabaseDescription(
function (str) { console.log(str) },
);
Allows to get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber(
function (str) { console.log(str) },
);
Allows to get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber(
function (str) { console.log(str) },
);
License
Allows to get an expiration date of the license:
DocumentReader.getLicenseExpiryDate(
function (str) { console.log(str) },
);
Allows to get a list of country identifiers which are defined for processing in the license. If the array is empty, there are no restrictions for processing:
DocumentReader.getLicenseCountryFilter(
function (str) { console.log(str) },
);