About SDK and license
This page covers the ways of obtaining the info about a SDK and a license

SDK

To get the API version use:
1
DocumentReader.getAPIVersion(
2
function (str) { console.log(str) },
3
);
Copied!
To get the Core version use:
1
DocumentReader.getCoreVersion(
2
function (str) { console.log(str) },
3
);
Copied!
To get the Core mode use:
1
DocumentReader.getCoreMode(
2
function (str) { console.log(str) },
3
);
Copied!
Allows you to get database id, e.g. KAZ:
1
DocumentReader.getDatabaseID(
2
function (str) { console.log(str) },
3
);
Copied!
To get the database version use:
1
DocumentReader.getDatabaseVersion(
2
function (str) { console.log(str) },
3
);
Copied!
Allows you to get the database export date:
1
DocumentReader.getDatabaseDate(
2
function (str) { console.log(str) },
3
);
Copied!
To get the list of supported database documents use:
1
DocumentReader.getDatabaseDescription(
2
function (str) { console.log(str) },
3
);
Copied!
Allows to get the number of supported database countries:
1
DocumentReader.getDatabaseCountriesNumber(
2
function (str) { console.log(str) },
3
);
Copied!
Allows to get the number of supported database documents:
1
DocumentReader.getDatabaseDocumentsNumber(
2
function (str) { console.log(str) },
3
);
Copied!

License

Allows to get an expiration date of the license:
1
DocumentReader.getLicenseExpiryDate(
2
function (str) { console.log(str) },
3
);
Copied!
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:
1
DocumentReader.getLicenseCountryFilter(
2
function (str) { console.log(str) },
3
);
Copied!
Last modified 4d ago
Copy link
Contents
SDK
License