Skip to content

Commit 9b8ada4

Browse files
authored
Merge pull request #33 from aspose-pdf-cloud/develop
update to 22.4.0
2 parents f77a111 + 191ef89 commit 9b8ada4

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,29 @@ These SDKs are now fully supported. If you have any questions, see any bugs or h
99

1010
Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
1111

12-
## Enhancements in Version 22.3
13-
- PDFCLOUD-2729: Add StrikeOut, Superscript, Subscript properties to TextState.
14-
- PDFCLOUD-2623: Underline property is missing in TextState.
12+
## Enhancements in Version 22.4
1513
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
1614

17-
## Bugs fixed in Version 22.3
18-
- PDFCLOUD-2714: GetFields API method not extracting PDF form fields.
19-
- PDFCLOUD-2641: PostSplitDocument returns wrong path.
20-
2115
## Installation
2216
```
23-
go get -u github.com/aspose-pdf-cloud/aspose-pdf-cloud-go
17+
go get -u github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/v22
2418
```
2519

2620
## Getting Started
2721
Please follow the [installation](#installation) instruction and execute the following Go code:
2822

2923
## Get PDF Page Circle Annotations in Go
3024
```
31-
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
25+
import asposepdfcloud "github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/v22"
3226
33-
config, _ := models.NewConfiguration("MY_CLIENT_ID", "MY_CLIENT_SECRET", "https://api.aspose.cloud")
34-
pdfAPI, ctx, _ := api.CreatePdf(config)
35-
name := "PdfWithAnnotations.pdf"
27+
...
3628
29+
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
30+
pdfApi := asposepdfcloud.NewPdfApiService("MY_CLIENT_ID", "MY_CLIENT_SECRET", "")
3731
args := map[string]interface{} {
3832
"folder": "path/to/remote/folder",
3933
}
40-
41-
return pdfAPI.GetDocumentCircleAnnotations(name, args)
34+
return pdfApi.GetDocumentCircleAnnotations("PdfWithAnnotations.pdf", args)
4235
```
4336

4437
## Unit Tests

api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (c *APIClient) prepareRequest (
176176

177177
// set custom header
178178
headerParams["x-aspose-client"] = "go sdk"
179-
headerParams["x-aspose-client-version"] = "22.3.1"
179+
headerParams["x-aspose-client-version"] = "22.4.0"
180180

181181
// Detect postBody type and post.
182182
if postBody != nil {

0 commit comments

Comments
 (0)