Version Information
How to get information about the SDK and license.
SDK
- Get the API version:
DocumentReader.getAPIVersion().then(response => {
console.log(response);
});
- Get the Core version:
DocumentReader.getCoreVersion().then(response => {
console.log(response);
});
- Get the Core mode:
DocumentReader.getCoreMode().then(response => {
console.log(response);
});
- Get the database ID, for example, KAZ:
DocumentReader.getDatabaseID().then(response => {
console.log(response);
});
- Get the database version:
DocumentReader.getDatabaseVersion().then(response => {
console.log(response);
});
- Get the database export date:
DocumentReader.getDatabaseDate().then(response => {
console.log(response);
});
- Get the list of supported database documents:
DocumentReader.getDatabaseDescription().then(response => {
console.log(response);
});
- Get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber().then(response => {
console.log(response);
});
- Get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber().then(response => {
console.log(response);
});
License
- Get the expiration date of your license:
DocumentReader.getLicenseExpiryDate().then(response => {
console.log(response);
});
- Get the list of country identifiers that are defined for processing in the license. If the array is empty, there are no restrictions for processing:
DocumentReader.getLicenseCountryFilter().then(response => {
console.log(response);
});