Node.js SDK to Manage Tasks in the Cloud
Aspose.Tasks for Cloud offers the ability to manipulate and convert Microsoft Project MPT, MPP, MPX & Oracle Primavera XER, XML, and PrimaveraP6XML files in the Cloud. Aspose.Tasks Cloud SDK for Node.js wraps the REST API to make it easier for the developers to integrate Task Management features in their own cloud-based Node.js applications.
REST API for Task Management
Read & Write Project Data
Microsoft Project MPP, XML, MPT Primavera MPX
Save Project Data As
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
Get Started with Aspose.Tasks Cloud SDK for Node.js
Register an account at Aspose Cloud Dashboard to get you application information. Next, execute npm i @asposecloud/aspose-tasks-cloud
from the command line to install Aspose.Tasks Cloud SDK for Node.js via NPM.
Create MPP in the Cloud
const tasksApi = new TasksApi("AppSid", "AppKey");
const request: GetTasksRequest = { name: "template.mpp", folder: "documents", storage: ""}
tasksApi.getTasks(request)
.then((result) => {
console.log(result.response.statusCode);
console.log(result.body);
})
.catch(function(err) {
console.log(err.reponse.statusCode);
console.log(err.body);
});
Tests contain various examples of using the SDK. You have to create "testConfig.json" file in project root to run every example. The "testConfig.json" has the following structure.
{
"AppSid": "Youre AppSid here",
"AppKey": "Youre AppKey here",
"BaseUrl": "http://api.aspose.cloud"
}
Aspose.Tasks Cloud SDKs in Popular Languages
Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial