24.2.0 • Published 3 months ago

groupdocs-comparison-cloud v24.2.0

Weekly downloads
57
License
MIT
Repository
github
Last release
3 months ago

GroupDocs.Comparison Cloud Node.js SDK

Node.js module for communicating with the GroupDocs.Comparison Cloud API

Installation

A package groupdocs-comparison-cloud is available at npmjs.com. You can install it with:

npm install groupdocs-comparison-cloud

Getting Started

Please follow the installation procedure and then run the following JavaScript code:

// load the module
var GroupDocs = require('groupdocs-comparison-cloud');

// get your appSid and appKey at https://dashboard.groupdocs.cloud (free registration is required).
var appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
var appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

// construct ComparisonApi
var infoApi = GroupDocs.InfoApi.fromKeys(appSid, appKey);

// retrieve supported file-formats
infoApi.getSupportedFileFormats()
    .then(function (response) {
        console.log("Supported file-formats:")
        response.formats.forEach(function (format) {
            console.log(format.fileFormat + " (" + format.extension + ")");
        });
    })
    .catch(function (error) {
        console.log("Error: " + error.message)
    });

Or compile and run same written in TypeScript:

// load the module
import { InfoApi } from "groupdocs-comparison-cloud";

// get your appSid and appKey at https://dashboard.groupdocs.cloud (free registration is required).
const appSid: string = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
const appKey: string = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

// construct ComparisonApi
const infoApi: InfoApi = InfoApi.fromKeys(appSid, appKey);

// retrieve supported file-formats
infoApi.getSupportedFileFormats()
    .then((result) => {
        console.log("Supported file-formats:");
        result.formats.forEach((format) => {
            console.log(format.fileFormat + " (" + format.extension + ")");
        });
    })
    .catch((error) => {
        console.log("Error: " + error.message);
    });

Licensing

GroupDocs.Comparison Cloud Node.js SDK licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

24.2.0

3 months ago

23.12.0

5 months ago

23.4.0

1 year ago

22.4.0

2 years ago

21.7.0

3 years ago

21.3.1

3 years ago

21.3.0

3 years ago

20.12.0

3 years ago

20.5.0

4 years ago

19.5.0

5 years ago