cloudmersive-convert-api-client 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -12
- data/docs/ConvertDocumentApi.md +76 -21
- data/docs/ConvertWebApi.md +113 -3
- data/docs/HtmlToTextRequest.md +8 -0
- data/docs/HtmlToTextResponse.md +9 -0
- data/docs/UrlToTextRequest.md +8 -0
- data/docs/UrlToTextResponse.md +9 -0
- data/lib/cloudmersive-convert-api-client.rb +4 -0
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +70 -14
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +112 -2
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +189 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +189 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/convert_document_api_spec.rb +19 -7
- data/spec/api/convert_web_api_spec.rb +25 -1
- data/spec/models/html_to_text_request_spec.rb +42 -0
- data/spec/models/html_to_text_response_spec.rb +48 -0
- data/spec/models/url_to_text_request_spec.rb +42 -0
- data/spec/models/url_to_text_response_spec.rb +48 -0
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9976bcccd727d4462803988b2948566fe2f875d8812044bd46e5bfc47e770c56
|
4
|
+
data.tar.gz: ecaa394f73766d88f1151458333105f469ecd0345fc4054d36c207cbf78cba1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c830462631f43fc124c0d186d53ac120d7aad49a3a7833296cb79dc010b8cd6ba42f39c1d9a6eed620753ebdf5cf6c8ff8e9c88a9151642d979edc5760364cc5
|
7
|
+
data.tar.gz: 9cb8d20d8c6e2839905caadb9555bbbe093a5e604762d18f1510d6da1473d7e0f274a44c6f6852a4ab4fa2956c71c173838cd7bea6335ff1917cca6dddf2d52f
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.5.
|
10
|
+
- Package version: 1.5.6
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-convert-api-client-1.5.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.5.6.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.5.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.5.6.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-convert-api-client', '~> 1.5.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.5.6'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -94,31 +94,32 @@ Class | Method | HTTP request | Description
|
|
94
94
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_get_info**](docs/ConvertDocumentApi.md#convert_document_autodetect_get_info) | **POST** /convert/autodetect/get-info | Get document type information
|
95
95
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_pdf**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_pdf) | **POST** /convert/autodetect/to/pdf | Convert Document to PDF
|
96
96
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_png_array**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_png_array) | **POST** /convert/autodetect/to/png | Convert Document to PNG array
|
97
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_txt**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_txt) | **POST** /convert/autodetect/to/txt | Convert Document to Text
|
97
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_txt**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_txt) | **POST** /convert/autodetect/to/txt | Convert Document to Text (txt)
|
98
98
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_csv_to_xlsx**](docs/ConvertDocumentApi.md#convert_document_csv_to_xlsx) | **POST** /convert/csv/to/xlsx | Convert CSV to Excel XLSX Spreadsheet
|
99
99
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_docx**](docs/ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Convert Word DOC (97-03) Document to DOCX
|
100
100
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_pdf**](docs/ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Convert Word DOC (97-03) Document to PDF
|
101
101
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_docx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Convert Word DOCX Document to PDF
|
102
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_docx_to_txt**](docs/ConvertDocumentApi.md#convert_document_docx_to_txt) | **POST** /convert/docx/to/txt | Convert Word DOCX Document to Text
|
103
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_pdf**](docs/ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML to PDF Document
|
104
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_png**](docs/ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML to PNG image array
|
102
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_docx_to_txt**](docs/ConvertDocumentApi.md#convert_document_docx_to_txt) | **POST** /convert/docx/to/txt | Convert Word DOCX Document to Text (txt)
|
103
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_pdf**](docs/ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML document file to PDF Document
|
104
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_png**](docs/ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML document file to PNG image array
|
105
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_html_to_txt**](docs/ConvertDocumentApi.md#convert_document_html_to_txt) | **POST** /convert/html/to/txt | HTML Document file to Text (txt)
|
105
106
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_docx**](docs/ConvertDocumentApi.md#convert_document_pdf_to_docx) | **POST** /convert/pdf/to/docx | Convert PDF to Word DOCX Document
|
106
107
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_docx_rasterize**](docs/ConvertDocumentApi.md#convert_document_pdf_to_docx_rasterize) | **POST** /convert/pdf/to/docx/rasterize | Convert PDF to Word DOCX Document based on rasterized version of the PDF
|
107
108
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_png_array**](docs/ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | Convert PDF to PNG Image Array
|
108
109
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_png_single**](docs/ConvertDocumentApi.md#convert_document_pdf_to_png_single) | **POST** /convert/pdf/to/png/merge-single | Convert PDF to Single PNG image
|
109
110
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_pptx**](docs/ConvertDocumentApi.md#convert_document_pdf_to_pptx) | **POST** /convert/pdf/to/pptx | Convert PDF to PowerPoint PPTX Presentation
|
110
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_txt**](docs/ConvertDocumentApi.md#convert_document_pdf_to_txt) | **POST** /convert/pdf/to/txt | Convert PDF Document to Text
|
111
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_txt**](docs/ConvertDocumentApi.md#convert_document_pdf_to_txt) | **POST** /convert/pdf/to/txt | Convert PDF Document to Text (txt)
|
111
112
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_png_array_to_pdf**](docs/ConvertDocumentApi.md#convert_document_png_array_to_pdf) | **POST** /convert/png/to/pdf | Convert PNG Array to PDF
|
112
113
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pdf**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | Convert PowerPoint PPT (97-03) Presentation to PDF
|
113
114
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pptx**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | Convert PowerPoint PPT (97-03) Presentation to PPTX
|
114
115
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pptx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | Convert PowerPoint PPTX Presentation to PDF
|
115
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pptx_to_txt**](docs/ConvertDocumentApi.md#convert_document_pptx_to_txt) | **POST** /convert/pptx/to/txt | Convert PowerPoint PPTX Presentation to Text
|
116
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pptx_to_txt**](docs/ConvertDocumentApi.md#convert_document_pptx_to_txt) | **POST** /convert/pptx/to/txt | Convert PowerPoint PPTX Presentation to Text (txt)
|
116
117
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_csv**](docs/ConvertDocumentApi.md#convert_document_xls_to_csv) | **POST** /convert/xls/to/csv | Convert Excel XLS (97-03) Spreadsheet to CSV
|
117
118
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_pdf**](docs/ConvertDocumentApi.md#convert_document_xls_to_pdf) | **POST** /convert/xls/to/pdf | Convert Excel XLS (97-03) Spreadsheet to PDF
|
118
119
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_xlsx**](docs/ConvertDocumentApi.md#convert_document_xls_to_xlsx) | **POST** /convert/xls/to/xlsx | Convert Excel XLS (97-03) Spreadsheet to XLSX
|
119
120
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_csv**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_csv) | **POST** /convert/xlsx/to/csv | Convert Excel XLSX Spreadsheet to CSV
|
120
121
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_pdf) | **POST** /convert/xlsx/to/pdf | Convert Excel XLSX Spreadsheet to PDF
|
121
|
-
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_txt**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_txt) | **POST** /convert/xlsx/to/txt | Convert Excel XLSX Spreadsheet to Text
|
122
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_txt**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_txt) | **POST** /convert/xlsx/to/txt | Convert Excel XLSX Spreadsheet to Text (txt)
|
122
123
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_get_image_info**](docs/ConvertImageApi.md#convert_image_get_image_info) | **POST** /convert/image/get-info | Get information about an image
|
123
124
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_format_convert**](docs/ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
124
125
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_set_dpi**](docs/ConvertImageApi.md#convert_image_image_set_dpi) | **POST** /convert/image/set-dpi/{dpi} | Change image DPI
|
@@ -127,7 +128,9 @@ Class | Method | HTTP request | Description
|
|
127
128
|
*CloudmersiveConvertApiClient::ConvertTemplateApi* | [**convert_template_apply_html_template**](docs/ConvertTemplateApi.md#convert_template_apply_html_template) | **POST** /convert/template/html/apply | Apply HTML template
|
128
129
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_docx**](docs/ConvertWebApi.md#convert_web_html_to_docx) | **POST** /convert/html/to/docx | Convert HTML to Word DOCX Document
|
129
130
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_pdf**](docs/ConvertWebApi.md#convert_web_html_to_pdf) | **POST** /convert/web/html/to/pdf | Convert HTML string to PDF
|
130
|
-
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_png**](docs/ConvertWebApi.md#convert_web_html_to_png) | **POST** /convert/web/html/to/png | Convert HTML string to PNG
|
131
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_png**](docs/ConvertWebApi.md#convert_web_html_to_png) | **POST** /convert/web/html/to/png | Convert HTML string to PNG screenshot
|
132
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_txt**](docs/ConvertWebApi.md#convert_web_html_to_txt) | **POST** /convert/web/url/to/txt | Convert website URL page to text (txt)
|
133
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_txt_0**](docs/ConvertWebApi.md#convert_web_html_to_txt_0) | **POST** /convert/web/html/to/txt | Convert HTML string to text (txt)
|
131
134
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_md_to_html**](docs/ConvertWebApi.md#convert_web_md_to_html) | **POST** /convert/web/md/to/html | Convert Markdown to HTML
|
132
135
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_pdf**](docs/ConvertWebApi.md#convert_web_url_to_pdf) | **POST** /convert/web/url/to/pdf | Convert a URL to PDF
|
133
136
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_screenshot**](docs/ConvertWebApi.md#convert_web_url_to_screenshot) | **POST** /convert/web/url/to/screenshot | Take screenshot of URL
|
@@ -280,6 +283,8 @@ Class | Method | HTTP request | Description
|
|
280
283
|
- [CloudmersiveConvertApiClient::HtmlToOfficeRequest](docs/HtmlToOfficeRequest.md)
|
281
284
|
- [CloudmersiveConvertApiClient::HtmlToPdfRequest](docs/HtmlToPdfRequest.md)
|
282
285
|
- [CloudmersiveConvertApiClient::HtmlToPngRequest](docs/HtmlToPngRequest.md)
|
286
|
+
- [CloudmersiveConvertApiClient::HtmlToTextRequest](docs/HtmlToTextRequest.md)
|
287
|
+
- [CloudmersiveConvertApiClient::HtmlToTextResponse](docs/HtmlToTextResponse.md)
|
283
288
|
- [CloudmersiveConvertApiClient::InsertDocxInsertParagraphRequest](docs/InsertDocxInsertParagraphRequest.md)
|
284
289
|
- [CloudmersiveConvertApiClient::InsertDocxInsertParagraphResponse](docs/InsertDocxInsertParagraphResponse.md)
|
285
290
|
- [CloudmersiveConvertApiClient::InsertDocxTableRowRequest](docs/InsertDocxTableRowRequest.md)
|
@@ -312,6 +317,8 @@ Class | Method | HTTP request | Description
|
|
312
317
|
- [CloudmersiveConvertApiClient::UpdateDocxTableCellResponse](docs/UpdateDocxTableCellResponse.md)
|
313
318
|
- [CloudmersiveConvertApiClient::UpdateDocxTableRowRequest](docs/UpdateDocxTableRowRequest.md)
|
314
319
|
- [CloudmersiveConvertApiClient::UpdateDocxTableRowResponse](docs/UpdateDocxTableRowResponse.md)
|
320
|
+
- [CloudmersiveConvertApiClient::UrlToTextRequest](docs/UrlToTextRequest.md)
|
321
|
+
- [CloudmersiveConvertApiClient::UrlToTextResponse](docs/UrlToTextResponse.md)
|
315
322
|
- [CloudmersiveConvertApiClient::ViewerResponse](docs/ViewerResponse.md)
|
316
323
|
- [CloudmersiveConvertApiClient::WorksheetResult](docs/WorksheetResult.md)
|
317
324
|
- [CloudmersiveConvertApiClient::XlsxImage](docs/XlsxImage.md)
|
data/docs/ConvertDocumentApi.md
CHANGED
@@ -7,31 +7,32 @@ Method | HTTP request | Description
|
|
7
7
|
[**convert_document_autodetect_get_info**](ConvertDocumentApi.md#convert_document_autodetect_get_info) | **POST** /convert/autodetect/get-info | Get document type information
|
8
8
|
[**convert_document_autodetect_to_pdf**](ConvertDocumentApi.md#convert_document_autodetect_to_pdf) | **POST** /convert/autodetect/to/pdf | Convert Document to PDF
|
9
9
|
[**convert_document_autodetect_to_png_array**](ConvertDocumentApi.md#convert_document_autodetect_to_png_array) | **POST** /convert/autodetect/to/png | Convert Document to PNG array
|
10
|
-
[**convert_document_autodetect_to_txt**](ConvertDocumentApi.md#convert_document_autodetect_to_txt) | **POST** /convert/autodetect/to/txt | Convert Document to Text
|
10
|
+
[**convert_document_autodetect_to_txt**](ConvertDocumentApi.md#convert_document_autodetect_to_txt) | **POST** /convert/autodetect/to/txt | Convert Document to Text (txt)
|
11
11
|
[**convert_document_csv_to_xlsx**](ConvertDocumentApi.md#convert_document_csv_to_xlsx) | **POST** /convert/csv/to/xlsx | Convert CSV to Excel XLSX Spreadsheet
|
12
12
|
[**convert_document_doc_to_docx**](ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Convert Word DOC (97-03) Document to DOCX
|
13
13
|
[**convert_document_doc_to_pdf**](ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Convert Word DOC (97-03) Document to PDF
|
14
14
|
[**convert_document_docx_to_pdf**](ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Convert Word DOCX Document to PDF
|
15
|
-
[**convert_document_docx_to_txt**](ConvertDocumentApi.md#convert_document_docx_to_txt) | **POST** /convert/docx/to/txt | Convert Word DOCX Document to Text
|
16
|
-
[**convert_document_html_to_pdf**](ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML to PDF Document
|
17
|
-
[**convert_document_html_to_png**](ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML to PNG image array
|
15
|
+
[**convert_document_docx_to_txt**](ConvertDocumentApi.md#convert_document_docx_to_txt) | **POST** /convert/docx/to/txt | Convert Word DOCX Document to Text (txt)
|
16
|
+
[**convert_document_html_to_pdf**](ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML document file to PDF Document
|
17
|
+
[**convert_document_html_to_png**](ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML document file to PNG image array
|
18
|
+
[**convert_document_html_to_txt**](ConvertDocumentApi.md#convert_document_html_to_txt) | **POST** /convert/html/to/txt | HTML Document file to Text (txt)
|
18
19
|
[**convert_document_pdf_to_docx**](ConvertDocumentApi.md#convert_document_pdf_to_docx) | **POST** /convert/pdf/to/docx | Convert PDF to Word DOCX Document
|
19
20
|
[**convert_document_pdf_to_docx_rasterize**](ConvertDocumentApi.md#convert_document_pdf_to_docx_rasterize) | **POST** /convert/pdf/to/docx/rasterize | Convert PDF to Word DOCX Document based on rasterized version of the PDF
|
20
21
|
[**convert_document_pdf_to_png_array**](ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | Convert PDF to PNG Image Array
|
21
22
|
[**convert_document_pdf_to_png_single**](ConvertDocumentApi.md#convert_document_pdf_to_png_single) | **POST** /convert/pdf/to/png/merge-single | Convert PDF to Single PNG image
|
22
23
|
[**convert_document_pdf_to_pptx**](ConvertDocumentApi.md#convert_document_pdf_to_pptx) | **POST** /convert/pdf/to/pptx | Convert PDF to PowerPoint PPTX Presentation
|
23
|
-
[**convert_document_pdf_to_txt**](ConvertDocumentApi.md#convert_document_pdf_to_txt) | **POST** /convert/pdf/to/txt | Convert PDF Document to Text
|
24
|
+
[**convert_document_pdf_to_txt**](ConvertDocumentApi.md#convert_document_pdf_to_txt) | **POST** /convert/pdf/to/txt | Convert PDF Document to Text (txt)
|
24
25
|
[**convert_document_png_array_to_pdf**](ConvertDocumentApi.md#convert_document_png_array_to_pdf) | **POST** /convert/png/to/pdf | Convert PNG Array to PDF
|
25
26
|
[**convert_document_ppt_to_pdf**](ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | Convert PowerPoint PPT (97-03) Presentation to PDF
|
26
27
|
[**convert_document_ppt_to_pptx**](ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | Convert PowerPoint PPT (97-03) Presentation to PPTX
|
27
28
|
[**convert_document_pptx_to_pdf**](ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | Convert PowerPoint PPTX Presentation to PDF
|
28
|
-
[**convert_document_pptx_to_txt**](ConvertDocumentApi.md#convert_document_pptx_to_txt) | **POST** /convert/pptx/to/txt | Convert PowerPoint PPTX Presentation to Text
|
29
|
+
[**convert_document_pptx_to_txt**](ConvertDocumentApi.md#convert_document_pptx_to_txt) | **POST** /convert/pptx/to/txt | Convert PowerPoint PPTX Presentation to Text (txt)
|
29
30
|
[**convert_document_xls_to_csv**](ConvertDocumentApi.md#convert_document_xls_to_csv) | **POST** /convert/xls/to/csv | Convert Excel XLS (97-03) Spreadsheet to CSV
|
30
31
|
[**convert_document_xls_to_pdf**](ConvertDocumentApi.md#convert_document_xls_to_pdf) | **POST** /convert/xls/to/pdf | Convert Excel XLS (97-03) Spreadsheet to PDF
|
31
32
|
[**convert_document_xls_to_xlsx**](ConvertDocumentApi.md#convert_document_xls_to_xlsx) | **POST** /convert/xls/to/xlsx | Convert Excel XLS (97-03) Spreadsheet to XLSX
|
32
33
|
[**convert_document_xlsx_to_csv**](ConvertDocumentApi.md#convert_document_xlsx_to_csv) | **POST** /convert/xlsx/to/csv | Convert Excel XLSX Spreadsheet to CSV
|
33
34
|
[**convert_document_xlsx_to_pdf**](ConvertDocumentApi.md#convert_document_xlsx_to_pdf) | **POST** /convert/xlsx/to/pdf | Convert Excel XLSX Spreadsheet to PDF
|
34
|
-
[**convert_document_xlsx_to_txt**](ConvertDocumentApi.md#convert_document_xlsx_to_txt) | **POST** /convert/xlsx/to/txt | Convert Excel XLSX Spreadsheet to Text
|
35
|
+
[**convert_document_xlsx_to_txt**](ConvertDocumentApi.md#convert_document_xlsx_to_txt) | **POST** /convert/xlsx/to/txt | Convert Excel XLSX Spreadsheet to Text (txt)
|
35
36
|
|
36
37
|
|
37
38
|
# **convert_document_autodetect_get_info**
|
@@ -199,7 +200,7 @@ Name | Type | Description | Notes
|
|
199
200
|
# **convert_document_autodetect_to_txt**
|
200
201
|
> TextConversionResult convert_document_autodetect_to_txt(input_file)
|
201
202
|
|
202
|
-
Convert Document to Text
|
203
|
+
Convert Document to Text (txt)
|
203
204
|
|
204
205
|
Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files.
|
205
206
|
|
@@ -221,7 +222,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
221
222
|
|
222
223
|
|
223
224
|
begin
|
224
|
-
#Convert Document to Text
|
225
|
+
#Convert Document to Text (txt)
|
225
226
|
result = api_instance.convert_document_autodetect_to_txt(input_file)
|
226
227
|
p result
|
227
228
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -469,7 +470,7 @@ Name | Type | Description | Notes
|
|
469
470
|
# **convert_document_docx_to_txt**
|
470
471
|
> TextConversionResult convert_document_docx_to_txt(input_file)
|
471
472
|
|
472
|
-
Convert Word DOCX Document to Text
|
473
|
+
Convert Word DOCX Document to Text (txt)
|
473
474
|
|
474
475
|
Convert Office Word Documents (docx) to text
|
475
476
|
|
@@ -491,7 +492,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
491
492
|
|
492
493
|
|
493
494
|
begin
|
494
|
-
#Convert Word DOCX Document to Text
|
495
|
+
#Convert Word DOCX Document to Text (txt)
|
495
496
|
result = api_instance.convert_document_docx_to_txt(input_file)
|
496
497
|
p result
|
497
498
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -523,7 +524,7 @@ Name | Type | Description | Notes
|
|
523
524
|
# **convert_document_html_to_pdf**
|
524
525
|
> String convert_document_html_to_pdf(input_file)
|
525
526
|
|
526
|
-
Convert HTML to PDF Document
|
527
|
+
Convert HTML document file to PDF Document
|
527
528
|
|
528
529
|
Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.
|
529
530
|
|
@@ -545,7 +546,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
545
546
|
|
546
547
|
|
547
548
|
begin
|
548
|
-
#Convert HTML to PDF Document
|
549
|
+
#Convert HTML document file to PDF Document
|
549
550
|
result = api_instance.convert_document_html_to_pdf(input_file)
|
550
551
|
p result
|
551
552
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -577,7 +578,7 @@ Name | Type | Description | Notes
|
|
577
578
|
# **convert_document_html_to_png**
|
578
579
|
> PdfToPngResult convert_document_html_to_png(input_file)
|
579
580
|
|
580
|
-
Convert HTML to PNG image array
|
581
|
+
Convert HTML document file to PNG image array
|
581
582
|
|
582
583
|
Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file.
|
583
584
|
|
@@ -599,7 +600,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
599
600
|
|
600
601
|
|
601
602
|
begin
|
602
|
-
#Convert HTML to PNG image array
|
603
|
+
#Convert HTML document file to PNG image array
|
603
604
|
result = api_instance.convert_document_html_to_png(input_file)
|
604
605
|
p result
|
605
606
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -628,6 +629,60 @@ Name | Type | Description | Notes
|
|
628
629
|
|
629
630
|
|
630
631
|
|
632
|
+
# **convert_document_html_to_txt**
|
633
|
+
> TextConversionResult convert_document_html_to_txt(input_file)
|
634
|
+
|
635
|
+
HTML Document file to Text (txt)
|
636
|
+
|
637
|
+
HTML document to text
|
638
|
+
|
639
|
+
### Example
|
640
|
+
```ruby
|
641
|
+
# load the gem
|
642
|
+
require 'cloudmersive-convert-api-client'
|
643
|
+
# setup authorization
|
644
|
+
CloudmersiveConvertApiClient.configure do |config|
|
645
|
+
# Configure API key authorization: Apikey
|
646
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
647
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
648
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
649
|
+
end
|
650
|
+
|
651
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
|
652
|
+
|
653
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
654
|
+
|
655
|
+
|
656
|
+
begin
|
657
|
+
#HTML Document file to Text (txt)
|
658
|
+
result = api_instance.convert_document_html_to_txt(input_file)
|
659
|
+
p result
|
660
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
661
|
+
puts "Exception when calling ConvertDocumentApi->convert_document_html_to_txt: #{e}"
|
662
|
+
end
|
663
|
+
```
|
664
|
+
|
665
|
+
### Parameters
|
666
|
+
|
667
|
+
Name | Type | Description | Notes
|
668
|
+
------------- | ------------- | ------------- | -------------
|
669
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
670
|
+
|
671
|
+
### Return type
|
672
|
+
|
673
|
+
[**TextConversionResult**](TextConversionResult.md)
|
674
|
+
|
675
|
+
### Authorization
|
676
|
+
|
677
|
+
[Apikey](../README.md#Apikey)
|
678
|
+
|
679
|
+
### HTTP request headers
|
680
|
+
|
681
|
+
- **Content-Type**: multipart/form-data
|
682
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
683
|
+
|
684
|
+
|
685
|
+
|
631
686
|
# **convert_document_pdf_to_docx**
|
632
687
|
> String convert_document_pdf_to_docx(input_file)
|
633
688
|
|
@@ -901,7 +956,7 @@ Name | Type | Description | Notes
|
|
901
956
|
# **convert_document_pdf_to_txt**
|
902
957
|
> TextConversionResult convert_document_pdf_to_txt(input_file)
|
903
958
|
|
904
|
-
Convert PDF Document to Text
|
959
|
+
Convert PDF Document to Text (txt)
|
905
960
|
|
906
961
|
PDF document to text
|
907
962
|
|
@@ -923,7 +978,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
923
978
|
|
924
979
|
|
925
980
|
begin
|
926
|
-
#Convert PDF Document to Text
|
981
|
+
#Convert PDF Document to Text (txt)
|
927
982
|
result = api_instance.convert_document_pdf_to_txt(input_file)
|
928
983
|
p result
|
929
984
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -1192,7 +1247,7 @@ Name | Type | Description | Notes
|
|
1192
1247
|
# **convert_document_pptx_to_txt**
|
1193
1248
|
> TextConversionResult convert_document_pptx_to_txt(input_file)
|
1194
1249
|
|
1195
|
-
Convert PowerPoint PPTX Presentation to Text
|
1250
|
+
Convert PowerPoint PPTX Presentation to Text (txt)
|
1196
1251
|
|
1197
1252
|
Convert Office PowerPoint Documents (pptx) to standard Text
|
1198
1253
|
|
@@ -1214,7 +1269,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
1214
1269
|
|
1215
1270
|
|
1216
1271
|
begin
|
1217
|
-
#Convert PowerPoint PPTX Presentation to Text
|
1272
|
+
#Convert PowerPoint PPTX Presentation to Text (txt)
|
1218
1273
|
result = api_instance.convert_document_pptx_to_txt(input_file)
|
1219
1274
|
p result
|
1220
1275
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -1520,7 +1575,7 @@ Name | Type | Description | Notes
|
|
1520
1575
|
# **convert_document_xlsx_to_txt**
|
1521
1576
|
> TextConversionResult convert_document_xlsx_to_txt(input_file)
|
1522
1577
|
|
1523
|
-
Convert Excel XLSX Spreadsheet to Text
|
1578
|
+
Convert Excel XLSX Spreadsheet to Text (txt)
|
1524
1579
|
|
1525
1580
|
Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats.
|
1526
1581
|
|
@@ -1542,7 +1597,7 @@ input_file = File.new("/path/to/file.txt") # File | Input file to perform the op
|
|
1542
1597
|
|
1543
1598
|
|
1544
1599
|
begin
|
1545
|
-
#Convert Excel XLSX Spreadsheet to Text
|
1600
|
+
#Convert Excel XLSX Spreadsheet to Text (txt)
|
1546
1601
|
result = api_instance.convert_document_xlsx_to_txt(input_file)
|
1547
1602
|
p result
|
1548
1603
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
data/docs/ConvertWebApi.md
CHANGED
@@ -6,7 +6,9 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**convert_web_html_to_docx**](ConvertWebApi.md#convert_web_html_to_docx) | **POST** /convert/html/to/docx | Convert HTML to Word DOCX Document
|
8
8
|
[**convert_web_html_to_pdf**](ConvertWebApi.md#convert_web_html_to_pdf) | **POST** /convert/web/html/to/pdf | Convert HTML string to PDF
|
9
|
-
[**convert_web_html_to_png**](ConvertWebApi.md#convert_web_html_to_png) | **POST** /convert/web/html/to/png | Convert HTML string to PNG
|
9
|
+
[**convert_web_html_to_png**](ConvertWebApi.md#convert_web_html_to_png) | **POST** /convert/web/html/to/png | Convert HTML string to PNG screenshot
|
10
|
+
[**convert_web_html_to_txt**](ConvertWebApi.md#convert_web_html_to_txt) | **POST** /convert/web/url/to/txt | Convert website URL page to text (txt)
|
11
|
+
[**convert_web_html_to_txt_0**](ConvertWebApi.md#convert_web_html_to_txt_0) | **POST** /convert/web/html/to/txt | Convert HTML string to text (txt)
|
10
12
|
[**convert_web_md_to_html**](ConvertWebApi.md#convert_web_md_to_html) | **POST** /convert/web/md/to/html | Convert Markdown to HTML
|
11
13
|
[**convert_web_url_to_pdf**](ConvertWebApi.md#convert_web_url_to_pdf) | **POST** /convert/web/url/to/pdf | Convert a URL to PDF
|
12
14
|
[**convert_web_url_to_screenshot**](ConvertWebApi.md#convert_web_url_to_screenshot) | **POST** /convert/web/url/to/screenshot | Take screenshot of URL
|
@@ -123,7 +125,7 @@ Name | Type | Description | Notes
|
|
123
125
|
# **convert_web_html_to_png**
|
124
126
|
> Object convert_web_html_to_png(input)
|
125
127
|
|
126
|
-
Convert HTML string to PNG
|
128
|
+
Convert HTML string to PNG screenshot
|
127
129
|
|
128
130
|
Fully renders a website and returns a PNG (screenshot) of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
|
129
131
|
|
@@ -145,7 +147,7 @@ input = CloudmersiveConvertApiClient::HtmlToPngRequest.new # HtmlToPngRequest |
|
|
145
147
|
|
146
148
|
|
147
149
|
begin
|
148
|
-
#Convert HTML string to PNG
|
150
|
+
#Convert HTML string to PNG screenshot
|
149
151
|
result = api_instance.convert_web_html_to_png(input)
|
150
152
|
p result
|
151
153
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -174,6 +176,114 @@ Name | Type | Description | Notes
|
|
174
176
|
|
175
177
|
|
176
178
|
|
179
|
+
# **convert_web_html_to_txt**
|
180
|
+
> UrlToTextResponse convert_web_html_to_txt(input)
|
181
|
+
|
182
|
+
Convert website URL page to text (txt)
|
183
|
+
|
184
|
+
Converts a website URL page into text (txt); extracts text from HTML
|
185
|
+
|
186
|
+
### Example
|
187
|
+
```ruby
|
188
|
+
# load the gem
|
189
|
+
require 'cloudmersive-convert-api-client'
|
190
|
+
# setup authorization
|
191
|
+
CloudmersiveConvertApiClient.configure do |config|
|
192
|
+
# Configure API key authorization: Apikey
|
193
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
194
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
195
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
196
|
+
end
|
197
|
+
|
198
|
+
api_instance = CloudmersiveConvertApiClient::ConvertWebApi.new
|
199
|
+
|
200
|
+
input = CloudmersiveConvertApiClient::UrlToTextRequest.new # UrlToTextRequest | HTML to Text request parameters
|
201
|
+
|
202
|
+
|
203
|
+
begin
|
204
|
+
#Convert website URL page to text (txt)
|
205
|
+
result = api_instance.convert_web_html_to_txt(input)
|
206
|
+
p result
|
207
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
208
|
+
puts "Exception when calling ConvertWebApi->convert_web_html_to_txt: #{e}"
|
209
|
+
end
|
210
|
+
```
|
211
|
+
|
212
|
+
### Parameters
|
213
|
+
|
214
|
+
Name | Type | Description | Notes
|
215
|
+
------------- | ------------- | ------------- | -------------
|
216
|
+
**input** | [**UrlToTextRequest**](UrlToTextRequest.md)| HTML to Text request parameters |
|
217
|
+
|
218
|
+
### Return type
|
219
|
+
|
220
|
+
[**UrlToTextResponse**](UrlToTextResponse.md)
|
221
|
+
|
222
|
+
### Authorization
|
223
|
+
|
224
|
+
[Apikey](../README.md#Apikey)
|
225
|
+
|
226
|
+
### HTTP request headers
|
227
|
+
|
228
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
229
|
+
- **Accept**: application/octet-stream
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
# **convert_web_html_to_txt_0**
|
234
|
+
> HtmlToTextResponse convert_web_html_to_txt_0(input)
|
235
|
+
|
236
|
+
Convert HTML string to text (txt)
|
237
|
+
|
238
|
+
Converts an HTML string input into text (txt); extracts text from HTML
|
239
|
+
|
240
|
+
### Example
|
241
|
+
```ruby
|
242
|
+
# load the gem
|
243
|
+
require 'cloudmersive-convert-api-client'
|
244
|
+
# setup authorization
|
245
|
+
CloudmersiveConvertApiClient.configure do |config|
|
246
|
+
# Configure API key authorization: Apikey
|
247
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
248
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
249
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
250
|
+
end
|
251
|
+
|
252
|
+
api_instance = CloudmersiveConvertApiClient::ConvertWebApi.new
|
253
|
+
|
254
|
+
input = CloudmersiveConvertApiClient::HtmlToTextRequest.new # HtmlToTextRequest | HTML to Text request parameters
|
255
|
+
|
256
|
+
|
257
|
+
begin
|
258
|
+
#Convert HTML string to text (txt)
|
259
|
+
result = api_instance.convert_web_html_to_txt_0(input)
|
260
|
+
p result
|
261
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
262
|
+
puts "Exception when calling ConvertWebApi->convert_web_html_to_txt_0: #{e}"
|
263
|
+
end
|
264
|
+
```
|
265
|
+
|
266
|
+
### Parameters
|
267
|
+
|
268
|
+
Name | Type | Description | Notes
|
269
|
+
------------- | ------------- | ------------- | -------------
|
270
|
+
**input** | [**HtmlToTextRequest**](HtmlToTextRequest.md)| HTML to Text request parameters |
|
271
|
+
|
272
|
+
### Return type
|
273
|
+
|
274
|
+
[**HtmlToTextResponse**](HtmlToTextResponse.md)
|
275
|
+
|
276
|
+
### Authorization
|
277
|
+
|
278
|
+
[Apikey](../README.md#Apikey)
|
279
|
+
|
280
|
+
### HTTP request headers
|
281
|
+
|
282
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
283
|
+
- **Accept**: application/octet-stream
|
284
|
+
|
285
|
+
|
286
|
+
|
177
287
|
# **convert_web_md_to_html**
|
178
288
|
> HtmlMdResult convert_web_md_to_html(input_file)
|
179
289
|
|