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().then(response => {
2
console.log(response);
3
});
Copied!
To get the Core version use:
1
DocumentReader.getCoreVersion().then(response => {
2
console.log(response);
3
});
Copied!
To get the Core mode use:
1
DocumentReader.getCoreMode().then(response => {
2
console.log(response);
3
});
Copied!
Allows you to get database id, e.g. KAZ:
1
DocumentReader.getDatabaseID().then(response => {
2
console.log(response);
3
});
Copied!
To get the database version use:
1
DocumentReader.getDatabaseVersion().then(response => {
2
console.log(response);
3
});
Copied!
Allows you to get the database export date:
1
DocumentReader.getDatabaseDate().then(response => {
2
console.log(response);
3
});
Copied!
To get the list of supported database documents use:
1
DocumentReader.getDatabaseDescription().then(response => {
2
console.log(response);
3
});
Copied!
Allows to get the number of supported database countries:
1
DocumentReader.getDatabaseCountriesNumber().then(response => {
2
console.log(response);
3
});
Copied!
Allows to get the number of supported database documents:
1
DocumentReader.getDatabaseDocumentsNumber().then(response => {
2
console.log(response);
3
});
Copied!

License

Allows to get an expiration date of the license:
1
DocumentReader.getLicenseExpiryDate().then(response => {
2
console.log(response);
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().then(response => {
2
console.log(response);
3
});
Copied!
Last modified 11mo ago
Copy link
Contents
SDK
License