Skip to content

Commit 01673d8

Browse files
[N/A] - Initialized the repository.
0 parents  commit 01673d8

File tree

387 files changed

+24456
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+24456
-0
lines changed

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Binaries for programs and plugins
2+
*.exe
3+
*.exe~
4+
*.dll
5+
*.so
6+
*.dylib
7+
8+
# Test binary, built with `go test -c`
9+
*.test
10+
11+
# Output of the go coverage tool, specifically when used with LiteIDE
12+
*.out
13+
14+
.idea/*
15+
testReport.xml

LICENSE.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2021 Aspose
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Go SDK to Manage Tasks in the Cloud
2+
3+
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 Go](https://products.aspose.cloud/tasks/go) wraps the REST API to make it easier for the developers to integrate Task Management features in their own cloud-based Go applications.
4+
5+
Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/taskscloud/Developer+Guide) & [API Reference](https://apireference.aspose.cloud/tasks/) to know all about Aspose.Tasks Cloud API.
6+
7+
## REST API for Task Management
8+
9+
- [Convert project documents](https://docs.aspose.cloud/tasks/convert-project-document-to-the-specified-format/) to other formats.
10+
- Manipulate task data.
11+
- [Manage project's resources](https://docs.aspose.cloud/tasks/working-with-resources/).
12+
- Handle task links & task assignments.
13+
- Work with project's extended attributes.
14+
- [Read Microsoft Project’s document properties](https://docs.aspose.cloud/tasks/working-with-calendars/) such as start and finish date, tasks scheduling types and so on.
15+
- [Read Microsoft Project’s Calendars](https://docs.aspose.cloud/tasks/working-with-calendars/) and Calendar Exceptions information.
16+
17+
## Read & Write Project Data
18+
19+
**Microsoft Project** MPP, XML, MPT **Primavera** MPX
20+
21+
## Save Project Data As
22+
23+
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
24+
25+
## Getting Started with Aspose.Tasks Cloud SDK for Go
26+
27+
Firstly, create an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to get your application information and free quota to use the API.
28+
29+
#### Install Aspose.Tasks-Cloud
30+
31+
From Visual Stuio Code:
32+
33+
Add "github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/api" and "github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/api/models" in the import section of your code
34+
35+
From the command line:
36+
37+
go get -v github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/api
38+
39+
The complete source code is available at [GitHub Repository](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go).
40+
41+
## Sample usage via the SDK
42+
43+
The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Tasks-Cloud library:
44+
45+
Config.json file:
46+
```csharp
47+
{
48+
"AppKey": "your app key",
49+
"AppSid": "your app sid",
50+
"BaseUrl": "https://api.aspose.cloud"
51+
}
52+
```
53+
Go code:
54+
55+
```
56+
// Start README example
57+
58+
// init tasks cloud api
59+
config, _ := models.NewConfiguration(configFilePath)
60+
tasksApi, ctx, _ := api.CreateTasksApi(config)
61+
62+
// upload sample.mpp to a cloud
63+
// uploaded_sample.mpp is a name in the cloud
64+
file, _ := os.Open("sample.mpp")
65+
66+
tasksApi.UploadFile(ctx, &requests.UploadFileOpts{
67+
File: file,
68+
Path: "uploaded_sample.mpp",
69+
}))
70+
71+
// get assignments from the project file
72+
options := &requests.GetAssignmentsOpts{
73+
Name: "uploaded_sample.mpp",
74+
}
75+
76+
result, _, err := tasksApi.GetParagraphs(ctx, remoteName, options)
77+
78+
if err != nil {
79+
//error handling
80+
}
81+
82+
fmt.Println(result.Assignments.AssignmentItem[0].Uid)
83+
84+
// End README example
85+
```
86+
87+
[Product Page](https://products.aspose.cloud/tasks/go) | [Documentation](https://docs.aspose.cloud/display/taskscloud/Home) | [API Reference](https://apireference.aspose.cloud/tasks/) | [Code Samples](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go) | [Blog](https://blog.aspose.cloud/category/tasks/) | [Free Support](https://forum.aspose.cloud/c/tasks) | [Free Trial](https://dashboard.aspose.cloud/#/apps)

0 commit comments

Comments
 (0)