This repository contains Aspose.3D Cloud SDK for Node.js source code. This SDK allows you to work with Aspose.3D Cloud REST APIs in your nodejs applications quickly and easily, with zero initial cost.
See API Reference for full API specification.
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get nmpjs distribution (recommended). For more details, please visit our documentation website.
To use Aspose 3D for Cloud SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Required version of Node.js is 4.8.7 or higher.
From the command line:
npm install aspose3dcloud --save
const { ThreeDCloudApi,postConvertByFormatRequest} = require('aspose3dcloud');
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
const threeDCloudApi = new ThreeDCloudApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
var req = new model.postConvertByFormatRequest()
req.name = "sample.ply";
req.newformat = "pdf";
req.newfilename = "saveasformat.pdf";
req.folder = "3DTest";
req.isOverwrite = true;
req.storage = "My_Storage_Name";
return threeDCloudApi.postConvertByFormat(req)
.then((result) => {
expect(result.response.statusCode).to.equal(200);
});