Skip to content

Commit 552261e

Browse files
add TemplateMerge API
1 parent ef187a0 commit 552261e

29 files changed

+880
-371
lines changed

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,69 @@ From the command line:
2323
pip install asposehtmlcloud
2424
```
2525

26+
# Documentation for API Endpoints
27+
28+
All URIs are relative to *https://api.aspose.cloud/v1.1*
29+
30+
## ConversionApi
31+
32+
Method | HTTP request | Description
33+
------------- | ------------- | -------------
34+
**get_convert_document_to_image** | **GET** html/{name}/convert/image/{outFormat} | Convert the HTML document from the storage by its name to the specified image format.
35+
**get_convert_document_to_image_by_url** | **GET** html/convert/image/{outFormat} | Convert the HTML page from the web by its URL to the specified image format.
36+
**get_convert_document_to_pdf** | **GET** html/{name}/convert/pdf | Convert the HTML document from the storage by its name to PDF.
37+
**get_convert_document_to_pdf_by_url** | **GET** html/convert/pdf | Convert the HTML page from the web by its URL to PDF.
38+
**get_convert_document_to_xps** | **GET** html/{name}/convert/xps | Convert the HTML document from the storage by its name to XPS.
39+
**get_convert_document_to_xps_by_url** | **GET** html/convert/xps | Convert the HTML page from the web by its URL to XPS.
40+
**put_convert_document_in_request_to_image** | **PUT** html/convert/image/{outFormat} | Converts the HTML document (in request content) to the specified image format and uploads resulting file to storage.
41+
**put_convert_document_in_request_to_pdf** | **PUT** html/convert/pdf | Converts the HTML document (in request content) to PDF and uploads resulting file to storage.
42+
**put_convert_document_in_request_to_xps** | **PUT** html/convert/xps | Converts the HTML document (in request content) to XPS and uploads resulting file to storage.
43+
**put_convert_document_to_image** | **PUT** html/{name}/convert/image/{outFormat} | Converts the HTML document (located on storage) to the specified image format and uploads resulting file to storage.
44+
**put_convert_document_to_pdf** | **PUT** html/{name}/convert/pdf | Converts the HTML document (located on storage) to PDF and uploads resulting file to storage.
45+
**put_convert_document_to_xps** | **PUT** html/{name}/convert/xps | Converts the HTML document (located on storage) to XPS and uploads resulting file to storage.
46+
47+
## DocumentApi
48+
49+
Method | HTTP request | Description
50+
------------- | ------------- | -------------
51+
**get_document_fragment_by_x_path** | **GET** html/{name}/fragments/{outFormat} | Return list of HTML fragments matching the specified XPath query.
52+
**get_document_fragment_by_x_path_by_url** | **GET** html/fragments/{outFormat} | Return list of HTML fragments matching the specified XPath query by the source page URL.
53+
**get_document_fragments_by_css_selector** | **GET** /html/{name}/fragments/css/{outFormat} | Return list of HTML fragments matching the specified CSS selector.
54+
**get_document_fragments_by_css_selector_by_url** | **GET** /html/fragments/css/{outFormat} | Return list of HTML fragments matching the specified CSS selector by the source page URL.
55+
**get_document_images** | **GET** html/{name}/images/all | Return all HTML document images packaged as a ZIP archive.
56+
**get_document_images_by_url** | **GET** html/images/all | Return all HTML page images packaged as a ZIP archive by the source page URL.
57+
58+
## OcrApi
59+
60+
Method | HTTP request | Description
61+
------------- | ------------- | -------------
62+
**get_recognize_and_import_to_html** | **GET** html/{name}/ocr/import | Recognize text from the image file in the storage and import it to HTML format.
63+
**get_recognize_and_translate_to_html** | **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.
64+
65+
## TranslationApi
66+
67+
Method | HTTP request | Description
68+
------------- | ------------- | -------------
69+
**get_translate_document** | **GET** html/{name}/translate/{srcLang}/{resLang} | Translate the HTML document specified by the name from default or specified storage.
70+
**get_translate_document_by_url** | **GET** html/translate/{srcLang}/{resLang} | Translate the HTML document from Web specified by its URL.
71+
72+
## SummarizationApi
73+
74+
Method | HTTP request | Description
75+
------------- | ------------- | -------------
76+
**get_detect_html_keywords** | **GET** html/{name}/summ/keywords | Get the HTML document keywords using the keyword detection service.
77+
**get_detect_html_keywords_by_url** | **GET** html/summ/keywords | Get the keywords from HTML document from Web specified by its URL using the keyword detection service
78+
79+
## TemplateMergeApi
80+
81+
Method | HTTP request | Description
82+
------------- | ------------- | -------------
83+
**get_merge_html_template** | **GET** /html/{templateName}/merge | Populate HTML document template with data located as a file in the storage.
84+
**put_merge_html_template** | **PUT** /html/{templateName}/merge | Populate HTML document template with data from the request body. Result document will be saved to storage.
85+
86+
87+
88+
2689

2790
The examples below show how your application have to initiate and convert url to image using Aspose.HTML Cloud library:
2891
```python

0 commit comments

Comments
 (0)