Skip to main content

Aspose.Tasks Cloud API Reference

Project description

Aspose.Tasks Cloud SDK for Python

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

Aspose.Tasks Cloud
API Reference

Key Features

  • Conversion between various file formats, including MPP->PDF conversion
  • Read, change and write Microsoft ProjectВ® documents
  • Create, update and write projects in XML project format
  • Manage extended attributes
  • Define weekdays for calendars and calendar exceptions
  • Manage task baseline scheduling and duration
  • Create and manage links between tasks
  • Manage resources costs and variances
  • Access assignment costs and budget

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get PyPi (recommended). For more details, please visit our documentation website.

Prerequisites

To use Aspose Tasks for Cloud Python 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.

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install aspose-tasks-cloud

(you may need to run pip with root permission: sudo pip install aspose-tasks-cloud)

Then import the package:

import asposetaskscloud

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import asposetaskscloud

Getting Started

Please follow the installation procedure and then run the following:

import asposetaskscloud
import asposetaskscloud.models.requests
api_client = asposetaskscloud.ApiClient()
api_client.configuration.host = 'https://api.aspose.cloud'
api_client.configuration.api_key['api_key'] = '' # Put your appKey here
api_client.configuration.api_key['app_sid'] = '' # Put your appSid here
tasks_api = asposetaskscloud.TasksApi(api_client)
remote_name = 'SomeSeriousPlan.mpp'

upload_request = asposetaskscloud.models.requests.UploadFileRequest(file, remote_name)
upload_result = self.tasks_api.upload_file(request)
self.assertTrue(upload_result.code == 200, 'Error has occurred while uploading project file')

request = asposetaskscloud.models.requests.GetDocumentPropertiesRequest(remote_name)
result = tasks_api.get_document_properties(request)
self.assertTrue(result.code == 200, 'Error has occurred while getting document properties')

Test contain various examples of using the SDK.

Dependencies

  • Python 2.7(End of Life in 2020) and 3.7
  • referenced packages (see here for more details)

Licensing

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

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

Resources

Website
Product Home
API Reference
Documentation
Blog

Other languages

We generate our SDKs in different languages so you may check if yours is available in our list.

If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspose-tasks-cloud-20.8.0.tar.gz (147.5 kB view hashes)

Uploaded Source

Built Distribution

aspose_tasks_cloud-20.8.0-py3-none-any.whl (470.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page