Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions justoneapi/generated/resources/douyin_ec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
)
54 changes: 54 additions & 0 deletions openapi/public-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
55 changes: 55 additions & 0 deletions openapi/public-api.normalized.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down