24.4.0 • Published 1 month ago

groupdocs-conversion-cloud v24.4.0

Weekly downloads
9
License
MIT
Repository
github
Last release
1 month ago

GroupDocs.Conversion Cloud Node.js SDK

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

Installation

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

npm install groupdocs-conversion-cloud

Getting Started

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

// load the module
var GroupDocs = require('groupdocs-conversion-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 Api
var api = GroupDocs.InfoApi.fromKeys(appSid, appKey);
var request = new GroupDocs.GetSupportedConversionTypesRequest();
// retrieve supported conversion types
api.getSupportedConversionTypes(request)
    .then(function (response) {
        console.log("Supported file-formats:")
        response.forEach(function (format) {
            console.log(format.sourceFormat + ": [" + format.targetFormats.join(", ") + "]");
        });
    })
    .catch(function (error) {
        console.log("Error: " + error.message)
    });

Or compile and run same written in TypeScript:

// load the module
import { INfoApi, GetSupportedConversionTypesRequest } from "groupdocs-conversion-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 Api
const api: InfoApi = InfoApi.fromKeys(appSid, appKey);

const request: GetSupportedConversionTypesRequest = new GetSupportedConversionTypesRequest();

// retrieve supported file-formats
api.getSupportedConversionTypes(request)
    .then((result) => {
        console.log("Supported file-formats:");
        result.forEach((format) => {
            console.log(format.sourceFormat + ": [" + format.targetFormats.join(", ") + "]");
        });
    })
    .catch((error) => {
        console.log("Error: " + error.message);
    });

Licensing

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

Resources

+Website +Product Home +Documentation +Free Support Forum +Blog

Contact Us

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

24.4.0

1 month ago

24.3.0

1 month ago

24.2.0

3 months ago

24.1.0

4 months ago

23.12.0

5 months ago

23.10.0

7 months ago

23.9.0

8 months ago

23.8.0

9 months ago

23.6.0

11 months ago

23.7.0

10 months ago

23.4.0

1 year ago

23.2.0

1 year ago

22.10.0

2 years ago

22.3.0

2 years ago

21.12.0

2 years ago

21.10.0

3 years ago

21.9.0

3 years ago

21.4.1

3 years ago

21.4.0

3 years ago

20.11.0

3 years ago

20.3.0

4 years ago

20.2.0

4 years ago

19.5.0

5 years ago

19.4.0

5 years ago

19.3.1

5 years ago