Skip to content

Commit

Permalink
[N/A] - Updated readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAndreychikov committed Dec 23, 2020
1 parent 01673d8 commit 5393a79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -40,7 +40,7 @@ The complete source code is available at [GitHub Repository](https://github.com/

## Sample usage via the SDK

The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Tasks-Cloud library:
The examples below show how your application have to initiate and get assignments from you project file using Aspose.Tasks-Cloud library:

Config.json file:
```csharp
Expand All @@ -66,14 +66,14 @@ Go code:
tasksApi.UploadFile(ctx, &requests.UploadFileOpts{
File: file,
Path: "uploaded_sample.mpp",
}))
})
// get assignments from the project file
options := &requests.GetAssignmentsOpts{
Name: "uploaded_sample.mpp",
}
}
result, _, err := tasksApi.GetParagraphs(ctx, remoteName, options)
result, _, err := tasksApi.GetAssignments(ctx, options)
if err != nil {
//error handling
Expand Down

0 comments on commit 5393a79

Please sign in to comment.