You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-18Lines changed: 3 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
# asposehtmlcloud
1
+
# Asposehtmlcloud
2
2
3
3
Asposehtmlcloud - JavaScript client for asposehtmlcloud
4
4
5
-
- API version: 19.6.2
6
-
- Package version: 19.6.2
5
+
- API version: 19.7.0
6
+
- Package version: 19.7.0
7
7
8
8
## Installation
9
9
@@ -18,7 +18,6 @@ The complete source code is available in this repository folder, you can either
18
18
it in your project via npm package manager.
19
19
20
20
### Prerequisites
21
-
22
21
To use Aspose HTML for Cloud Node.js SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
23
22
24
23
### Installation
@@ -27,7 +26,6 @@ To use Aspose HTML for Cloud Node.js SDK you need to register an account with [A
27
26
### For [Node.js](https://nodejs.org/)
28
27
29
28
#### npm
30
-
31
29
To publish the library as a [npm](https://www.npmjs.com/),
32
30
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
33
31
@@ -62,7 +60,6 @@ You should now be able to `require('asposehtmlcloud')` in javascript files from
62
60
command above from.
63
61
64
62
#### git
65
-
#
66
63
If the library is hosted at a git repository, e.g.
67
64
https://github.com/GIT_USER_ID/GIT_REPO_ID
68
65
then install it via:
@@ -72,7 +69,6 @@ then install it via:
72
69
```
73
70
74
71
### For browser
75
-
76
72
The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
77
73
the above steps with Node.js and installing browserify with `npm install -g browserify`,
78
74
perform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually
@@ -85,7 +81,6 @@ browserify main.js > bundle.js
85
81
Then include *bundle.js* in the HTML pages.
86
82
87
83
### Webpack Configuration
88
-
89
84
Using Webpack you may encounter the following error: "Module not found: Error:
90
85
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
91
86
the following section to your webpack config:
@@ -103,7 +98,6 @@ module: {
103
98
```
104
99
105
100
### Sample usage
106
-
107
101
Before fill all fields in configuration object (see tests)
108
102
109
103
Example:
@@ -121,7 +115,6 @@ var conf = {
121
115
```
122
116
123
117
## Getting Started
124
-
125
118
Please follow the [installation](#installation) instruction and execute the following JS code:
126
119
127
120
NOTE: Use the helper from /test/helper.js for upload and save data.
*Asposehtmlcloud.DocumentApi* | [**GetDocumentFragmentsByCSSSelectorByUrl**](docs/DocumentApi.md#GetDocumentFragmentsByCSSSelectorByUrl) | **GET** /html/fragments/css/{outFormat} | Return list of HTML fragments matching the specified CSS selector by the source page URL.
235
226
*Asposehtmlcloud.DocumentApi* | [**GetDocumentImages**](docs/DocumentApi.md#GetDocumentImages) | **GET** /html/{name}/images/all | Return all HTML document images packaged as a ZIP archive.
236
227
*Asposehtmlcloud.DocumentApi* | [**GetDocumentImagesByUrl**](docs/DocumentApi.md#GetDocumentImagesByUrl) | **GET** /html/images/all | Return all HTML page images packaged as a ZIP archive by the source page URL.
237
-
*Asposehtmlcloud.OcrApi* | [**GetRecognizeAndImportToHtml**](docs/OcrApi.md#GetRecognizeAndImportToHtml) | **GET** /html/{name}/ocr/import | Recognize text from the image file in the storage and import it to HTML format.
238
-
*Asposehtmlcloud.OcrApi* | [**GetRecognizeAndTranslateToHtml**](docs/OcrApi.md#GetRecognizeAndTranslateToHtml) | **GET** /html/{name}/ocr/translate/{srcLang}/{resLang} | Recognize text from the image file in the storage, import it to HTML format and translate to specified language.
239
-
*Asposehtmlcloud.TranslationApi* | [**GetTranslateDocument**](docs/TranslationApi.md#GetTranslateDocument) | **GET** /html/{name}/translate/{srcLang}/{resLang} | Translate the HTML document specified by the name from default or specified storage.
240
-
*Asposehtmlcloud.TranslationApi* | [**GetTranslateDocumentByUrl**](docs/TranslationApi.md#GetTranslateDocumentByUrl) | **GET** /html/translate/{srcLang}/{resLang} | Translate the HTML document from Web specified by its URL.
241
-
*Asposehtmlcloud.SummarizationApi* | [**GetDetectHtmlKeywords**](docs/SummarizationApi.md#GetDetectHtmlKeywords) | **GET** /html/{name}/summ/keywords | Get the HTML document keywords using the keyword detection service.
242
-
*Asposehtmlcloud.SummarizationApi* | [**GetDetectHtmlKeywordsByUrl**](docs/SummarizationApi.md#GetDetectHtmlKeywordsByUrl) | **GET** /html/summ/keywords | Get the keywords from HTML document from Web specified by its URL using the keyword detection service
243
228
*Asposehtmlcloud.TemplateMergeApi* | [**GetMergeHtmlTemplate**](docs/TemplateMergeApi.md#GetMergeHtmlTemplate) | **GET** /html/{templateName}/merge | Populate HTML document template with data located as a file in the storage.
244
229
*Asposehtmlcloud.TemplateMergeApi* | [**PostMergeHtmlTemplate**](docs/TemplateMergeApi.md#PostMergeHtmlTemplate) | **POST** /html/{templateName}/merge | Populate HTML document template with data from the request body. Result document will be saved to storage.
0 commit comments