Aspose.Tasks Cloud

Aspose.Tasks Cloud Aspose.Tasks Cloud is a REST API for manipulating Microsoft Project documents in the cloud. It is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.

Aspose.Tasks Cloud allows developers to manipulate project data including Tasks, Resources, Task links, and Assignments. Aspose.Tasks Cloud is a complete solution that allows you to work with all aspects of a Project document including conversion and manipulation of project’s tasks, task links, resources, resource assignments and extended attribute data. Learn More

What’s new in the latest release

This is a major revamp release for Aspose.Tasks Cloud SDK for Python. It covers all the Aspose.Tasks Cloud APIs. This SDK provides a complete solution for integrating Microsoft Project Document in Python using powerful Aspose.Tasks Cloud APIs, so you can manipulate project data including tasks, resources, task links, and assignments in the cloud seamlessly.

Source Code Repository

Complete source code of this release of Aspose.Tasks Cloud SDK for Python is freely available on your favorite GitHub and Codeplex repositories.

  • Aspose.Tasks Cloud SDK for Python – v1.0.0

Setup

Aspose.Tasks Cloud SDK for Python is also available as released package in the PyPI (Python Package Index). You can bypass source code repository and depend directly on the released package by installing from PyPI:

PyPI Aspose.Tasks Cloud SDK for Python Installation

 pip install asposetaskscloud
OR
easy_install asposetaskscloud 

Data

In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3th party cloud storage using Aspose.Storage Cloud SDK for Python.

Quick SDK Tutorial

 import asposetaskscloud
from asposetaskscloud.TasksApi import TasksApi
from asposetaskscloud.TasksApi import ApiException

import asposestoragecloud 
from asposestoragecloud.StorageApi import StorageApi
from asposestoragecloud.StorageApi import ResponseMessage

apiKey = "XXXXX" #sepcify App Key
appSid = "XXXXX" #sepcify App SID
apiServer = "http://api.aspose.com/v1.1"
data_folder = "../../data/"

#Instantiate Aspose Storage API SDK
storage_apiClient = asposestoragecloud.ApiClient.ApiClient(apiKey, appSid, True)
storageApi = StorageApi(storage_apiClient)
#Instantiate Aspose Tasks API SDK
api_client = asposetaskscloud.ApiClient.ApiClient(apiKey, appSid, True)
tasksApi = TasksApi(api_client);

#set input file name
name = "sample-project.mpp"
taskUid = 1

try:
    #upload file to aspose cloud storage
    response = storageApi.PutCreate(name, data_folder + name)

    #invoke Aspose.Tasks Cloud SDK API to retrieve a task information
    response = tasksApi.GetProjectTask(name, taskUid)

    if response.Status == "OK":
        task = response.Task
        print "Task Name " + task.Name        
        print "Duration " + str(task.Duration)

except ApiException as ex:
            print "ApiException:"
            print "Code:" + str(ex.code)
            print "Message:" + ex.message 

Aspose.Tasks Cloud API Documentation

Aspose.Tasks Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Tasks Cloud REST API.

Aspose.Tasks Cloud SDK for Python Examples

Aspose.Tasks Cloud SDK for Python Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.Tasks Cloud REST API. Please see the SDK examples of following categories.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.