Aspose.Tasks Cloud
Aspose.Tasks Cloud is a REST API for manipulating Microsoft Project documents in the cloud. It allows you to work with all aspects of a Project document including conversion. The API offers a wide range of Microsoft Project export options. The Aspose.Tasks Cloud API allows developers to convert Project documents to various formats including XML, HTML, BMP, PNG, PDF, and XSLX. The API can be used to list document properties such as a project’s default start and finish time, minutes per week and days per month, work format, default task type, and so on. The API also provides the capability to retrieve information about each task from a Project data file hosted in the cloud. Task information such as name, ID, duration, and start and end dates, can be retrieved. In addition, the API can add new tasks to projects and retrieve information about task links and task assignments. The Aspose.Tasks API can manage project resources for documents hosted in the cloud. The API provides full access to a project’s calendar collection. Learn More
Adding Aspose.Tasks Cloud to your project
• CocoapodsCocoaPods is the recommended way to add AsposeTasksCloud to your project.
- Add a pod entry for AsposeTasksCloud to your Podfile
pod 'AsposeTasksCloud'
- Install the pod(s) by running
pod install
- Include AsposeTasksCloud wherever you need it with
#import "ASPTasksApi.h"
• Source filesAlternatively you can directly add source files to your project.
- Download the latest code version from GitHub or CodePlex repository.
- Open your project in Xcode, then drag and drop tasks folder onto your project (use the “Product Navigator view”). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
- Include AsposeTasksCloud wherever you need it with
#import "ASPTasksApi.h"
UsageAn example is given below to give you a quick preview of how APIs of this SDK can be called.
/*Get a project document in specified format.*/
#import "ASPApiClient.h"
#import "ASPTasksApi.h"
//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];
ASPTasksApi *tasksApi = [[ASPTasksApi alloc] init];
[self.tasksApi getTaskDocumentWithFormatWithCompletionBlock:fileName
format:@"pdf"
storage:nil
folder:nil
completionHandler:^(NSURL *output, NSError *error) {
BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
XCTAssertTrue(isFileExist, @"Failed to get a project document in specified format.");
}];
DependencyThis SDK has dependency on following libraries.
Aspose.Taks for Cloud SDK ExamplesAspose.Tasks Cloud SDK for Objective C 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.
- Working with Tasks
- Working With Resources
- Working with Calendars
- Working with Assignments
- Working with Task Links
- Working with Outline Codes and Extended Attributes
- Working with Project Documents