@asposecloud/aspose-tasks-cloud
Aspose.Tasks Cloud SDK for Node.js
Last updated 6 months ago by asposecloud .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @asposecloud/aspose-tasks-cloud 
SYNC missed versions from official npm registry.

Aspose.Tasks Cloud

Aspose.Tasks Cloud

Aspose.Tasks Cloud is a REST API for manipulating and converting Microsoft Project documents hosted on cloud platforms. It allows you to work with all aspects of a Project document as well as offers a wide range of export options allowing developers to convert Microsoft Project documents a number of industry standard formats. Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to work with Project documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights.

This repository contains Aspose.Tasks Cloud SDK for Node.js source code. This SDK allows you to work with Aspose.Tasks Cloud REST APIs in your nodejs applications quickly and easily, with zero initial cost.

To use these SDK, you will need App SID and App Key which can be looked up at Aspose Cloud Dashboard (free registration in Aspose Cloud is required for this).

Sample usage

The examples below show how your application have to initiate and get a project's tasks using aspose-tasks-cloud library:


const tasksApi = new TasksApi("Youre AppSid here", "Youre AppKey here");

const request: GetTasksRequest = { name: "ProjectFile.mpp", folder: "documents", storage: ""}

tasksApi.getTasks(request)
    .then((result) => {
        // Deal with a result
        console.log(result.response.statusCode);
        console.log(result.body);
    })
    .catch(function(err) {
        // Deal with an error
        console.log(err.reponse.statusCode);
        console.log(err.body);
    });

Every method returns a chainable promise.

Tests contain various examples of using the SDK. You have to create "testConfig.json" file in project root to run them. "testConfig.json" has the following structure

{
    "AppSid": "Youre AppSid here",
    "AppKey": "Youre AppKey here",
    "BaseUrl": "http://api.aspose.cloud"
}

For other examples, check the product Developer Guide.

Licensing

All Aspose.Tasks Cloud SDKs, helper scripts and templates are licensed under MIT License.

Resources

Current Tags

  • 19.12.0                                ...           latest (6 months ago)

2 Versions

  • 19.12.0                                ...           6 months ago
  • 19.10.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 4
Dependencies (8)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |