diff --git a/justoneapi/generated/resources/douyin_ec.py b/justoneapi/generated/resources/douyin_ec.py index f709f904..d728245e 100644 --- a/justoneapi/generated/resources/douyin_ec.py +++ b/justoneapi/generated/resources/douyin_ec.py @@ -28,3 +28,26 @@ def get_item_detail_v1( "itemId": item_id, }, ) + + def get_item_comments_v1( + self, + *, + item_id: str, + page: str | None = None, + ) -> ApiResponse[Any]: + """ + Item Comments + + Get Douyin E-commerce item comments, including ratings, review content, and reviewer signals, for customer feedback analysis and product research. + + Args: + item_id: The unique ID of the item on Douyin E-commerce. + page: Page number for paginated comments. + """ + return self._get( + "/api/douyin-ec/get-item-comments/v1", + { + "itemId": item_id, + "page": page, + }, + ) diff --git a/openapi/public-api.json b/openapi/public-api.json index 82c8baa0..423a468c 100644 --- a/openapi/public-api.json +++ b/openapi/public-api.json @@ -1408,6 +1408,60 @@ "x-order": "21001200" } }, + "/api/douyin-ec/get-item-comments/v1": { + "get": { + "description": "Get Douyin E-commerce item comments, including ratings, review content, and reviewer signals, for customer feedback analysis and product research.", + "operationId": "getDouyinEcItemCommentsV1", + "parameters": [ + { + "description": "Access token for this API service.", + "in": "query", + "name": "token", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The unique ID of the item on Douyin E-commerce.", + "in": "query", + "name": "itemId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Page number for paginated comments.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/Result" + } + } + }, + "description": "OK" + } + }, + "summary": "Item Comments", + "tags": [ + "Douyin E-commerce" + ], + "x-api-version": "v1", + "x-highlights": [], + "x-order": "14502100" + } + }, "/api/douyin-ec/get-item-detail/v1": { "get": { "description": "Get Douyin E-commerce item details, including price, title, and stock, for product monitoring and competitive analysis.", diff --git a/openapi/public-api.normalized.json b/openapi/public-api.normalized.json index 970878ea..c267985d 100644 --- a/openapi/public-api.normalized.json +++ b/openapi/public-api.normalized.json @@ -1439,6 +1439,61 @@ "x-sdk-resource": "douban" } }, + "/api/douyin-ec/get-item-comments/v1": { + "get": { + "description": "Get Douyin E-commerce item comments, including ratings, review content, and reviewer signals, for customer feedback analysis and product research.", + "operationId": "getDouyinEcItemCommentsV1", + "parameters": [ + { + "description": "The unique ID of the item on Douyin E-commerce.", + "in": "query", + "name": "itemId", + "required": true, + "schema": { + "type": "string" + }, + "x-sdk-python-name": "item_id" + }, + { + "description": "Page number for paginated comments.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "string" + }, + "x-sdk-python-name": "page" + } + ], + "responses": { + "200": { + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/Result" + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "tokenAuth": [] + } + ], + "summary": "Item Comments", + "tags": [ + "Douyin E-commerce" + ], + "x-api-version": "v1", + "x-highlights": [], + "x-order": "14502100", + "x-sdk-class-name": "DouyinEcResource", + "x-sdk-method-name": "get_item_comments_v1", + "x-sdk-resource": "douyin_ec" + } + }, "/api/douyin-ec/get-item-detail/v1": { "get": { "description": "Get Douyin E-commerce item details, including price, title, and stock, for product monitoring and competitive analysis.",