Skip to content

Version Information

How to get information about the SDK and license.

SDK

  • Get the API version:
DocumentReader.getAPIVersion(
    function (str) { console.log(str) },
);
  • Get the Core version:
DocumentReader.getCoreVersion(
    function (str) { console.log(str) },
);
  • Get the Core mode:
DocumentReader.getCoreMode(
    function (str) { console.log(str) },
);
  • Get the database ID, for example, KAZ:
DocumentReader.getDatabaseID(
    function (str) { console.log(str) },
);
  • Get the database version:
DocumentReader.getDatabaseVersion(
    function (str) { console.log(str) },
);
  • Get the database export date:
DocumentReader.getDatabaseDate(
    function (str) { console.log(str) },
);
  • Get the list of supported database documents:
DocumentReader.getDatabaseDescription(
    function (str) { console.log(str) },
);
  • Get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber(
    function (str) { console.log(str) },
);
  • Get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber(
    function (str) { console.log(str) },
);

License

  • Get the expiration date of your license:
DocumentReader.getLicenseExpiryDate(
    function (str) { console.log(str) },
);
  • 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(
    function (str) { console.log(str) },
);