Evaluation Limitations and Licensing

Note
You can use GroupDocs.Parser without a license. The functionality is the same as in the licensed version, but the evaluation version has the limitations listed below.

Evaluation version limitations

The evaluation package is the same as the purchased one. It becomes licensed when you apply a license in your code. Without a license, GroupDocs.Parser has the following limitations:

APILimit
Only 100 files per session
Only 5 pages (slides, sheets) of a document
Text extractionOnly 20 lines per file
Only the first 1600 symbols
Only the first 5 pages (slides, sheets)
+ Evaluation marks
Formatted text and text structure extractionOnly 20 rows for spreadsheets
Only the first 1600 symbols
Only the first 5 pages (slides, sheets)
+ Evaluation marks
Metadata extractionOnly 5 properties per file

To test GroupDocs.Parser without these limitations, request a free 30-day temporary license. To buy a license, see the pricing page.

Licensing

The license file contains details such as the product name, the number of developers it is licensed to and the subscription expiry date. It is digitally signed, so do not modify it: even an extra line break invalidates it.

Set the license:

  • Once per process, when the application starts.
  • Before you use any other GroupDocs.Parser classes.

Apply a license from a file

'use strict';

const groupdocs = require('@groupdocs/groupdocs.parser');

const license = new groupdocs.License();
license.setLicense("GroupDocs.Parser.lic");

console.log("License set successfully.");

Apply a license from a stream

Use the readDataFromStream helper to convert a Node.js readable stream into a Java input stream:

'use strict';

const fs = require('fs');
const groupdocs = require('@groupdocs/groupdocs.parser');

const licenseStream = fs.createReadStream("GroupDocs.Parser.lic");

groupdocs.readDataFromStream(licenseStream, (inputStream) => {
    const license = new groupdocs.License();
    license.setLicense(inputStream);

    console.log("License set successfully.");
});

Apply a metered license

Note
A metered license is an alternative to a license file. You are billed based on your usage of the API. Metered licensing requires an Internet connection. For more details, see the Metered Licensing FAQ.

To use a metered license:

  1. Create an instance of the Metered class.
  2. Pass your public and private keys to the setMeteredKey method.
  3. Process documents.
  4. Call the static Metered.getConsumptionQuantity method to get the number of API requests consumed so far.
  5. Call the static Metered.getConsumptionCredit method to get the credits consumed so far.
'use strict';

const groupdocs = require('@groupdocs/groupdocs.parser');

const publicKey = "*****";  // Your public key
const privateKey = "*****"; // Your private key

const metered = new groupdocs.Metered();
metered.setMeteredKey(publicKey, privateKey);

// ... parse documents ...

console.log("Consumption quantity:", groupdocs.Metered.getConsumptionQuantity());
console.log("Consumption credit:", groupdocs.Metered.getConsumptionCredit());
Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.