diff --git a/README.md b/README.md index 0d2e014..1d067d8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Convert API lets you effortlessly convert file formats and types. This Python package provides a native API client for [Cloudmersive Document Conversion](https://www.cloudmersive.com/convert-api) - API version: v1 -- Package version: 2.3.7 +- Package version: 2.3.8 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -175,7 +175,7 @@ Class | Method | HTTP request | Description *EditDocumentApi* | [**edit_document_xlsx_delete_worksheet**](docs/EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document *EditDocumentApi* | [**edit_document_xlsx_get_cell_by_identifier**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier *EditDocumentApi* | [**edit_document_xlsx_get_cell_by_index**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index -*EditDocumentApi* | [**edit_document_xlsx_get_columns**](docs/EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get rows and cells from a Excel XLSX spreadsheet, worksheet +*EditDocumentApi* | [**edit_document_xlsx_get_columns**](docs/EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get columns from a Excel XLSX spreadsheet, worksheet *EditDocumentApi* | [**edit_document_xlsx_get_images**](docs/EditDocumentApi.md#edit_document_xlsx_get_images) | **POST** /convert/edit/xlsx/get-images | Get images from a Excel XLSX spreadsheet, worksheet *EditDocumentApi* | [**edit_document_xlsx_get_rows_and_cells**](docs/EditDocumentApi.md#edit_document_xlsx_get_rows_and_cells) | **POST** /convert/edit/xlsx/get-rows-and-cells | Get rows and cells from a Excel XLSX spreadsheet, worksheet *EditDocumentApi* | [**edit_document_xlsx_get_styles**](docs/EditDocumentApi.md#edit_document_xlsx_get_styles) | **POST** /convert/edit/xlsx/get-styles | Get styles from a Excel XLSX spreadsheet, worksheet @@ -185,13 +185,13 @@ Class | Method | HTTP request | Description *EditDocumentApi* | [**edit_document_xlsx_set_cell_by_index**](docs/EditDocumentApi.md#edit_document_xlsx_set_cell_by_index) | **POST** /convert/edit/xlsx/set-cell/by-index | Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index *EditPdfApi* | [**edit_pdf_add_annotations**](docs/EditPdfApi.md#edit_pdf_add_annotations) | **POST** /convert/edit/pdf/annotations/add-item | Add one or more PDF annotations, comments in the PDF document *EditPdfApi* | [**edit_pdf_decrypt**](docs/EditPdfApi.md#edit_pdf_decrypt) | **POST** /convert/edit/pdf/decrypt | Decrypt and password-protect a PDF -*EditPdfApi* | [**edit_pdf_delete_pages**](docs/EditPdfApi.md#edit_pdf_delete_pages) | **POST** /convert/edit/pdf/pages/delete | Remove / delete pages from a PDF document +*EditPdfApi* | [**edit_pdf_delete_pages**](docs/EditPdfApi.md#edit_pdf_delete_pages) | **POST** /convert/edit/pdf/pages/delete | Remove, delete pages from a PDF document *EditPdfApi* | [**edit_pdf_encrypt**](docs/EditPdfApi.md#edit_pdf_encrypt) | **POST** /convert/edit/pdf/encrypt | Encrypt and password-protect a PDF *EditPdfApi* | [**edit_pdf_get_annotations**](docs/EditPdfApi.md#edit_pdf_get_annotations) | **POST** /convert/edit/pdf/annotations/list | Get PDF annotations, including comments in the document *EditPdfApi* | [**edit_pdf_get_form_fields**](docs/EditPdfApi.md#edit_pdf_get_form_fields) | **POST** /convert/edit/pdf/form/get-fields | Gets PDF Form fields and values *EditPdfApi* | [**edit_pdf_get_metadata**](docs/EditPdfApi.md#edit_pdf_get_metadata) | **POST** /convert/edit/pdf/get-metadata | Get PDF document metadata *EditPdfApi* | [**edit_pdf_get_pdf_text_by_pages**](docs/EditPdfApi.md#edit_pdf_get_pdf_text_by_pages) | **POST** /convert/edit/pdf/pages/get-text | Get text in a PDF document by page -*EditPdfApi* | [**edit_pdf_insert_pages**](docs/EditPdfApi.md#edit_pdf_insert_pages) | **POST** /convert/edit/pdf/pages/insert | Insert / copy pages from one PDF document into another +*EditPdfApi* | [**edit_pdf_insert_pages**](docs/EditPdfApi.md#edit_pdf_insert_pages) | **POST** /convert/edit/pdf/pages/insert | Insert, copy pages from one PDF document into another *EditPdfApi* | [**edit_pdf_rasterize**](docs/EditPdfApi.md#edit_pdf_rasterize) | **POST** /convert/edit/pdf/rasterize | Rasterize a PDF to an image-based PDF *EditPdfApi* | [**edit_pdf_remove_all_annotations**](docs/EditPdfApi.md#edit_pdf_remove_all_annotations) | **POST** /convert/edit/pdf/annotations/remove-all | Remove all PDF annotations, including comments in the document *EditPdfApi* | [**edit_pdf_remove_annotation_item**](docs/EditPdfApi.md#edit_pdf_remove_annotation_item) | **POST** /convert/edit/pdf/annotations/remove-item | Remove a specific PDF annotation, comment in the document @@ -416,6 +416,7 @@ Class | Method | HTTP request | Description - [UpdateDocxTableCellResponse](docs/UpdateDocxTableCellResponse.md) - [UpdateDocxTableRowRequest](docs/UpdateDocxTableRowRequest.md) - [UpdateDocxTableRowResponse](docs/UpdateDocxTableRowResponse.md) + - [UrlToPdfRequest](docs/UrlToPdfRequest.md) - [UrlToTextRequest](docs/UrlToTextRequest.md) - [UrlToTextResponse](docs/UrlToTextResponse.md) - [ViewerResponse](docs/ViewerResponse.md) diff --git a/cloudmersive_convert_api_client/__init__.py b/cloudmersive_convert_api_client/__init__.py index 64a1c54..8b5694c 100644 --- a/cloudmersive_convert_api_client/__init__.py +++ b/cloudmersive_convert_api_client/__init__.py @@ -204,6 +204,7 @@ from cloudmersive_convert_api_client.models.update_docx_table_cell_response import UpdateDocxTableCellResponse from cloudmersive_convert_api_client.models.update_docx_table_row_request import UpdateDocxTableRowRequest from cloudmersive_convert_api_client.models.update_docx_table_row_response import UpdateDocxTableRowResponse +from cloudmersive_convert_api_client.models.url_to_pdf_request import UrlToPdfRequest from cloudmersive_convert_api_client.models.url_to_text_request import UrlToTextRequest from cloudmersive_convert_api_client.models.url_to_text_response import UrlToTextResponse from cloudmersive_convert_api_client.models.viewer_response import ViewerResponse diff --git a/cloudmersive_convert_api_client/api/convert_web_api.py b/cloudmersive_convert_api_client/api/convert_web_api.py index 28de3ab..cb1357b 100644 --- a/cloudmersive_convert_api_client/api/convert_web_api.py +++ b/cloudmersive_convert_api_client/api/convert_web_api.py @@ -538,7 +538,7 @@ def convert_web_url_to_pdf(self, input, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param ScreenshotRequest input: URL to PDF request parameters (required) + :param UrlToPdfRequest input: URL to PDF request parameters (required) :return: str If the method is called asynchronously, returns the request thread. @@ -560,7 +560,7 @@ def convert_web_url_to_pdf_with_http_info(self, input, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param ScreenshotRequest input: URL to PDF request parameters (required) + :param UrlToPdfRequest input: URL to PDF request parameters (required) :return: str If the method is called asynchronously, returns the request thread. diff --git a/cloudmersive_convert_api_client/api/edit_document_api.py b/cloudmersive_convert_api_client/api/edit_document_api.py index add6a93..d333919 100644 --- a/cloudmersive_convert_api_client/api/edit_document_api.py +++ b/cloudmersive_convert_api_client/api/edit_document_api.py @@ -3796,9 +3796,9 @@ def edit_document_xlsx_get_cell_by_index_with_http_info(self, input, **kwargs): collection_formats=collection_formats) def edit_document_xlsx_get_columns(self, input, **kwargs): # noqa: E501 - """Get rows and cells from a Excel XLSX spreadsheet, worksheet # noqa: E501 + """Get columns from a Excel XLSX spreadsheet, worksheet # noqa: E501 - Returns the rows and cells defined in the Excel Spreadsheet worksheet # noqa: E501 + Returns the columns defined in the Excel Spreadsheet worksheet # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.edit_document_xlsx_get_columns(input, async_req=True) @@ -3818,9 +3818,9 @@ def edit_document_xlsx_get_columns(self, input, **kwargs): # noqa: E501 return data def edit_document_xlsx_get_columns_with_http_info(self, input, **kwargs): # noqa: E501 - """Get rows and cells from a Excel XLSX spreadsheet, worksheet # noqa: E501 + """Get columns from a Excel XLSX spreadsheet, worksheet # noqa: E501 - Returns the rows and cells defined in the Excel Spreadsheet worksheet # noqa: E501 + Returns the columns defined in the Excel Spreadsheet worksheet # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.edit_document_xlsx_get_columns_with_http_info(input, async_req=True) diff --git a/cloudmersive_convert_api_client/api/edit_pdf_api.py b/cloudmersive_convert_api_client/api/edit_pdf_api.py index 070364c..0fcfa2e 100644 --- a/cloudmersive_convert_api_client/api/edit_pdf_api.py +++ b/cloudmersive_convert_api_client/api/edit_pdf_api.py @@ -240,7 +240,7 @@ def edit_pdf_decrypt_with_http_info(self, password, input_file, **kwargs): # no collection_formats=collection_formats) def edit_pdf_delete_pages(self, input_file, page_start, page_end, **kwargs): # noqa: E501 - """Remove / delete pages from a PDF document # noqa: E501 + """Remove, delete pages from a PDF document # noqa: E501 Remove one or more pages from a PDF document # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -264,7 +264,7 @@ def edit_pdf_delete_pages(self, input_file, page_start, page_end, **kwargs): # return data def edit_pdf_delete_pages_with_http_info(self, input_file, page_start, page_end, **kwargs): # noqa: E501 - """Remove / delete pages from a PDF document # noqa: E501 + """Remove, delete pages from a PDF document # noqa: E501 Remove one or more pages from a PDF document # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -862,7 +862,7 @@ def edit_pdf_get_pdf_text_by_pages_with_http_info(self, input_file, **kwargs): collection_formats=collection_formats) def edit_pdf_insert_pages(self, source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation, **kwargs): # noqa: E501 - """Insert / copy pages from one PDF document into another # noqa: E501 + """Insert, copy pages from one PDF document into another # noqa: E501 Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document). # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -888,7 +888,7 @@ def edit_pdf_insert_pages(self, source_file, destination_file, page_start_source return data def edit_pdf_insert_pages_with_http_info(self, source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation, **kwargs): # noqa: E501 - """Insert / copy pages from one PDF document into another # noqa: E501 + """Insert, copy pages from one PDF document into another # noqa: E501 Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document). # noqa: E501 This method makes a synchronous HTTP request by default. To make an diff --git a/cloudmersive_convert_api_client/api_client.py b/cloudmersive_convert_api_client/api_client.py index eaeb96c..e17b9b0 100644 --- a/cloudmersive_convert_api_client/api_client.py +++ b/cloudmersive_convert_api_client/api_client.py @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.3.7/python' + self.user_agent = 'Swagger-Codegen/2.3.8/python' def __del__(self): if self._pool is not None: diff --git a/cloudmersive_convert_api_client/configuration.py b/cloudmersive_convert_api_client/configuration.py index d4e9519..b1106b7 100644 --- a/cloudmersive_convert_api_client/configuration.py +++ b/cloudmersive_convert_api_client/configuration.py @@ -240,5 +240,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 2.3.7".\ + "SDK Package Version: 2.3.8".\ format(env=sys.platform, pyversion=sys.version) diff --git a/cloudmersive_convert_api_client/models/__init__.py b/cloudmersive_convert_api_client/models/__init__.py index 49ed4e8..3cea2a4 100644 --- a/cloudmersive_convert_api_client/models/__init__.py +++ b/cloudmersive_convert_api_client/models/__init__.py @@ -184,6 +184,7 @@ from cloudmersive_convert_api_client.models.update_docx_table_cell_response import UpdateDocxTableCellResponse from cloudmersive_convert_api_client.models.update_docx_table_row_request import UpdateDocxTableRowRequest from cloudmersive_convert_api_client.models.update_docx_table_row_response import UpdateDocxTableRowResponse +from cloudmersive_convert_api_client.models.url_to_pdf_request import UrlToPdfRequest from cloudmersive_convert_api_client.models.url_to_text_request import UrlToTextRequest from cloudmersive_convert_api_client.models.url_to_text_response import UrlToTextResponse from cloudmersive_convert_api_client.models.viewer_response import ViewerResponse diff --git a/cloudmersive_convert_api_client/models/screenshot_request.py b/cloudmersive_convert_api_client/models/screenshot_request.py index 0a8f3eb..1d8e3c4 100644 --- a/cloudmersive_convert_api_client/models/screenshot_request.py +++ b/cloudmersive_convert_api_client/models/screenshot_request.py @@ -112,7 +112,7 @@ def extra_loading_wait(self, extra_loading_wait): def screenshot_width(self): """Gets the screenshot_width of this ScreenshotRequest. # noqa: E501 - Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot # noqa: E501 + Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024 # noqa: E501 :return: The screenshot_width of this ScreenshotRequest. # noqa: E501 :rtype: int @@ -123,7 +123,7 @@ def screenshot_width(self): def screenshot_width(self, screenshot_width): """Sets the screenshot_width of this ScreenshotRequest. - Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot # noqa: E501 + Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024 # noqa: E501 :param screenshot_width: The screenshot_width of this ScreenshotRequest. # noqa: E501 :type: int diff --git a/cloudmersive_convert_api_client/models/url_to_pdf_request.py b/cloudmersive_convert_api_client/models/url_to_pdf_request.py new file mode 100644 index 0000000..bab2208 --- /dev/null +++ b/cloudmersive_convert_api_client/models/url_to_pdf_request.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class UrlToPdfRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'url': 'str', + 'extra_loading_wait': 'int', + 'include_background_graphics': 'bool' + } + + attribute_map = { + 'url': 'Url', + 'extra_loading_wait': 'ExtraLoadingWait', + 'include_background_graphics': 'IncludeBackgroundGraphics' + } + + def __init__(self, url=None, extra_loading_wait=None, include_background_graphics=None): # noqa: E501 + """UrlToPdfRequest - a model defined in Swagger""" # noqa: E501 + + self._url = None + self._extra_loading_wait = None + self._include_background_graphics = None + self.discriminator = None + + if url is not None: + self.url = url + if extra_loading_wait is not None: + self.extra_loading_wait = extra_loading_wait + if include_background_graphics is not None: + self.include_background_graphics = include_background_graphics + + @property + def url(self): + """Gets the url of this UrlToPdfRequest. # noqa: E501 + + URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports. # noqa: E501 + + :return: The url of this UrlToPdfRequest. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this UrlToPdfRequest. + + URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports. # noqa: E501 + + :param url: The url of this UrlToPdfRequest. # noqa: E501 + :type: str + """ + + self._url = url + + @property + def extra_loading_wait(self): + """Gets the extra_loading_wait of this UrlToPdfRequest. # noqa: E501 + + Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds) # noqa: E501 + + :return: The extra_loading_wait of this UrlToPdfRequest. # noqa: E501 + :rtype: int + """ + return self._extra_loading_wait + + @extra_loading_wait.setter + def extra_loading_wait(self, extra_loading_wait): + """Sets the extra_loading_wait of this UrlToPdfRequest. + + Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds) # noqa: E501 + + :param extra_loading_wait: The extra_loading_wait of this UrlToPdfRequest. # noqa: E501 + :type: int + """ + + self._extra_loading_wait = extra_loading_wait + + @property + def include_background_graphics(self): + """Gets the include_background_graphics of this UrlToPdfRequest. # noqa: E501 + + Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. # noqa: E501 + + :return: The include_background_graphics of this UrlToPdfRequest. # noqa: E501 + :rtype: bool + """ + return self._include_background_graphics + + @include_background_graphics.setter + def include_background_graphics(self, include_background_graphics): + """Sets the include_background_graphics of this UrlToPdfRequest. + + Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. # noqa: E501 + + :param include_background_graphics: The include_background_graphics of this UrlToPdfRequest. # noqa: E501 + :type: bool + """ + + self._include_background_graphics = include_background_graphics + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(UrlToPdfRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UrlToPdfRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/docs/ConvertWebApi.md b/docs/ConvertWebApi.md index 4b80a05..9d0b105 100644 --- a/docs/ConvertWebApi.md +++ b/docs/ConvertWebApi.md @@ -307,7 +307,7 @@ configuration.api_key['Apikey'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = cloudmersive_convert_api_client.ConvertWebApi(cloudmersive_convert_api_client.ApiClient(configuration)) -input = cloudmersive_convert_api_client.ScreenshotRequest() # ScreenshotRequest | URL to PDF request parameters +input = cloudmersive_convert_api_client.UrlToPdfRequest() # UrlToPdfRequest | URL to PDF request parameters try: # Convert a URL to PDF @@ -321,7 +321,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **input** | [**ScreenshotRequest**](ScreenshotRequest.md)| URL to PDF request parameters | + **input** | [**UrlToPdfRequest**](UrlToPdfRequest.md)| URL to PDF request parameters | ### Return type diff --git a/docs/EditDocumentApi.md b/docs/EditDocumentApi.md index e0928bb..bbae9cc 100644 --- a/docs/EditDocumentApi.md +++ b/docs/EditDocumentApi.md @@ -42,7 +42,7 @@ Method | HTTP request | Description [**edit_document_xlsx_delete_worksheet**](EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document [**edit_document_xlsx_get_cell_by_identifier**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier [**edit_document_xlsx_get_cell_by_index**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index -[**edit_document_xlsx_get_columns**](EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get rows and cells from a Excel XLSX spreadsheet, worksheet +[**edit_document_xlsx_get_columns**](EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get columns from a Excel XLSX spreadsheet, worksheet [**edit_document_xlsx_get_images**](EditDocumentApi.md#edit_document_xlsx_get_images) | **POST** /convert/edit/xlsx/get-images | Get images from a Excel XLSX spreadsheet, worksheet [**edit_document_xlsx_get_rows_and_cells**](EditDocumentApi.md#edit_document_xlsx_get_rows_and_cells) | **POST** /convert/edit/xlsx/get-rows-and-cells | Get rows and cells from a Excel XLSX spreadsheet, worksheet [**edit_document_xlsx_get_styles**](EditDocumentApi.md#edit_document_xlsx_get_styles) | **POST** /convert/edit/xlsx/get-styles | Get styles from a Excel XLSX spreadsheet, worksheet @@ -2107,9 +2107,9 @@ Name | Type | Description | Notes # **edit_document_xlsx_get_columns** > GetXlsxColumnsResponse edit_document_xlsx_get_columns(input) -Get rows and cells from a Excel XLSX spreadsheet, worksheet +Get columns from a Excel XLSX spreadsheet, worksheet -Returns the rows and cells defined in the Excel Spreadsheet worksheet +Returns the columns defined in the Excel Spreadsheet worksheet ### Example ```python @@ -2130,7 +2130,7 @@ api_instance = cloudmersive_convert_api_client.EditDocumentApi(cloudmersive_conv input = cloudmersive_convert_api_client.GetXlsxColumnsRequest() # GetXlsxColumnsRequest | Document input request try: - # Get rows and cells from a Excel XLSX spreadsheet, worksheet + # Get columns from a Excel XLSX spreadsheet, worksheet api_response = api_instance.edit_document_xlsx_get_columns(input) pprint(api_response) except ApiException as e: diff --git a/docs/EditPdfApi.md b/docs/EditPdfApi.md index d76db78..11fcbe7 100644 --- a/docs/EditPdfApi.md +++ b/docs/EditPdfApi.md @@ -6,13 +6,13 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**edit_pdf_add_annotations**](EditPdfApi.md#edit_pdf_add_annotations) | **POST** /convert/edit/pdf/annotations/add-item | Add one or more PDF annotations, comments in the PDF document [**edit_pdf_decrypt**](EditPdfApi.md#edit_pdf_decrypt) | **POST** /convert/edit/pdf/decrypt | Decrypt and password-protect a PDF -[**edit_pdf_delete_pages**](EditPdfApi.md#edit_pdf_delete_pages) | **POST** /convert/edit/pdf/pages/delete | Remove / delete pages from a PDF document +[**edit_pdf_delete_pages**](EditPdfApi.md#edit_pdf_delete_pages) | **POST** /convert/edit/pdf/pages/delete | Remove, delete pages from a PDF document [**edit_pdf_encrypt**](EditPdfApi.md#edit_pdf_encrypt) | **POST** /convert/edit/pdf/encrypt | Encrypt and password-protect a PDF [**edit_pdf_get_annotations**](EditPdfApi.md#edit_pdf_get_annotations) | **POST** /convert/edit/pdf/annotations/list | Get PDF annotations, including comments in the document [**edit_pdf_get_form_fields**](EditPdfApi.md#edit_pdf_get_form_fields) | **POST** /convert/edit/pdf/form/get-fields | Gets PDF Form fields and values [**edit_pdf_get_metadata**](EditPdfApi.md#edit_pdf_get_metadata) | **POST** /convert/edit/pdf/get-metadata | Get PDF document metadata [**edit_pdf_get_pdf_text_by_pages**](EditPdfApi.md#edit_pdf_get_pdf_text_by_pages) | **POST** /convert/edit/pdf/pages/get-text | Get text in a PDF document by page -[**edit_pdf_insert_pages**](EditPdfApi.md#edit_pdf_insert_pages) | **POST** /convert/edit/pdf/pages/insert | Insert / copy pages from one PDF document into another +[**edit_pdf_insert_pages**](EditPdfApi.md#edit_pdf_insert_pages) | **POST** /convert/edit/pdf/pages/insert | Insert, copy pages from one PDF document into another [**edit_pdf_rasterize**](EditPdfApi.md#edit_pdf_rasterize) | **POST** /convert/edit/pdf/rasterize | Rasterize a PDF to an image-based PDF [**edit_pdf_remove_all_annotations**](EditPdfApi.md#edit_pdf_remove_all_annotations) | **POST** /convert/edit/pdf/annotations/remove-all | Remove all PDF annotations, including comments in the document [**edit_pdf_remove_annotation_item**](EditPdfApi.md#edit_pdf_remove_annotation_item) | **POST** /convert/edit/pdf/annotations/remove-item | Remove a specific PDF annotation, comment in the document @@ -137,7 +137,7 @@ Name | Type | Description | Notes # **edit_pdf_delete_pages** > str edit_pdf_delete_pages(input_file, page_start, page_end) -Remove / delete pages from a PDF document +Remove, delete pages from a PDF document Remove one or more pages from a PDF document @@ -162,7 +162,7 @@ page_start = 56 # int | Page number (1 based) to start deleting pages from (incl page_end = 56 # int | Page number (1 based) to stop deleting pages from (inclusive). try: - # Remove / delete pages from a PDF document + # Remove, delete pages from a PDF document api_response = api_instance.edit_pdf_delete_pages(input_file, page_start, page_end) pprint(api_response) except ApiException as e: @@ -471,7 +471,7 @@ Name | Type | Description | Notes # **edit_pdf_insert_pages** > str edit_pdf_insert_pages(source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation) -Insert / copy pages from one PDF document into another +Insert, copy pages from one PDF document into another Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document). @@ -498,7 +498,7 @@ page_end_source = 56 # int | Page number (1 based) to stop copying pages pages f page_insert_before_desitnation = 56 # int | Page number (1 based) to insert the pages before in the Destination file. try: - # Insert / copy pages from one PDF document into another + # Insert, copy pages from one PDF document into another api_response = api_instance.edit_pdf_insert_pages(source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation) pprint(api_response) except ApiException as e: diff --git a/docs/ScreenshotRequest.md b/docs/ScreenshotRequest.md index f6dd768..fc859f4 100644 --- a/docs/ScreenshotRequest.md +++ b/docs/ScreenshotRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **url** | **str** | URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports. | [optional] **extra_loading_wait** | **int** | Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds) | [optional] -**screenshot_width** | **int** | Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot | [optional] +**screenshot_width** | **int** | Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024 | [optional] **screenshot_height** | **int** | Optional: Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UrlToPdfRequest.md b/docs/UrlToPdfRequest.md new file mode 100644 index 0000000..eb9eb37 --- /dev/null +++ b/docs/UrlToPdfRequest.md @@ -0,0 +1,12 @@ +# UrlToPdfRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**url** | **str** | URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports. | [optional] +**extra_loading_wait** | **int** | Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds) | [optional] +**include_background_graphics** | **bool** | Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/packageconfig.json b/packageconfig.json index 1fae812..686ea6f 100644 --- a/packageconfig.json +++ b/packageconfig.json @@ -1,6 +1,6 @@ { "projectName" : "cloudmersive_convert_api_client", "packageName" : "cloudmersive_convert_api_client", - "packageVersion": "2.3.7", + "packageVersion": "2.3.8", "packageUrl": "https://www.cloudmersive.com/convert-api" } \ No newline at end of file diff --git a/setup.py b/setup.py index 14e39f6..90f312e 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "cloudmersive_convert_api_client" -VERSION = "2.3.7" +VERSION = "2.3.8" # To install the library, run the following # # python setup.py install diff --git a/test/test_url_to_pdf_request.py b/test/test_url_to_pdf_request.py new file mode 100644 index 0000000..e7d9418 --- /dev/null +++ b/test/test_url_to_pdf_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudmersive_convert_api_client +from cloudmersive_convert_api_client.models.url_to_pdf_request import UrlToPdfRequest # noqa: E501 +from cloudmersive_convert_api_client.rest import ApiException + + +class TestUrlToPdfRequest(unittest.TestCase): + """UrlToPdfRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUrlToPdfRequest(self): + """Test UrlToPdfRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = cloudmersive_convert_api_client.models.url_to_pdf_request.UrlToPdfRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main()