openboost-cli 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openboost_cli-0.1.0.dist-info/METADATA +153 -0
- openboost_cli-0.1.0.dist-info/RECORD +76 -0
- openboost_cli-0.1.0.dist-info/WHEEL +5 -0
- openboost_cli-0.1.0.dist-info/entry_points.txt +2 -0
- openboost_cli-0.1.0.dist-info/licenses/LICENSE +21 -0
- openboost_cli-0.1.0.dist-info/top_level.txt +1 -0
- proboost_cli/__init__.py +21 -0
- proboost_cli/cli/__init__.py +1 -0
- proboost_cli/cli/interactive.py +107 -0
- proboost_cli/cli/main.py +566 -0
- proboost_cli/client.py +58 -0
- proboost_cli/coerce_args.py +62 -0
- proboost_cli/config.py +109 -0
- proboost_cli/mcp_client.py +113 -0
- proboost_cli/parse_result.py +53 -0
- proboost_cli/registry.py +112 -0
- proboost_cli/schemas/__init__.py +1 -0
- proboost_cli/schemas/amazon/__init__.py +1 -0
- proboost_cli/schemas/amazon/amz_category_query.json +20 -0
- proboost_cli/schemas/amazon/amz_hot_amz_hot_cat_tree.json +25 -0
- proboost_cli/schemas/amazon/amz_hot_amz_hot_list.json +33 -0
- proboost_cli/schemas/amazon/amz_market_price.json +28 -0
- proboost_cli/schemas/amazon/amz_product_selection.json +140 -0
- proboost_cli/schemas/amazon/amz_review_query.json +28 -0
- proboost_cli/schemas/amazon/amz_sales_query.json +20 -0
- proboost_cli/schemas/amazon/amz_sku_query.json +20 -0
- proboost_cli/schemas/patent/__init__.py +1 -0
- proboost_cli/schemas/patent/patent_abstract_image.json +17 -0
- proboost_cli/schemas/patent/patent_abstract_translated.json +28 -0
- proboost_cli/schemas/patent/patent_bibliography.json +17 -0
- proboost_cli/schemas/patent/patent_claim_data.json +21 -0
- proboost_cli/schemas/patent/patent_claim_translated.json +28 -0
- proboost_cli/schemas/patent/patent_description.json +21 -0
- proboost_cli/schemas/patent/patent_description_translated.json +28 -0
- proboost_cli/schemas/patent/patent_family.json +17 -0
- proboost_cli/schemas/patent/patent_fulltext_image.json +29 -0
- proboost_cli/schemas/patent/patent_image_search_multiple.json +117 -0
- proboost_cli/schemas/patent/patent_image_search_single.json +114 -0
- proboost_cli/schemas/patent/patent_legal_status.json +17 -0
- proboost_cli/schemas/patent/patent_pdf.json +21 -0
- proboost_cli/schemas/patent/patent_query_count.json +36 -0
- proboost_cli/schemas/patent/patent_query_search.json +40 -0
- proboost_cli/schemas/patent/patent_query_search_with_agg.json +55 -0
- proboost_cli/schemas/patent/patent_semantic_search.json +48 -0
- proboost_cli/schemas/tiktok/__init__.py +1 -0
- proboost_cli/schemas/tiktok/tk_expert_sale_show.json +20 -0
- proboost_cli/schemas/tiktok/tt_commodity_detail.json +21 -0
- proboost_cli/schemas/tiktok/tt_commodity_expert_draw_expert_trend.json +20 -0
- proboost_cli/schemas/tiktok/tt_commodity_get_commodity_cat_tree.json +8 -0
- proboost_cli/schemas/tiktok/tt_commodity_info_list.json +180 -0
- proboost_cli/schemas/tiktok/tt_commodity_sales_trend.json +33 -0
- proboost_cli/schemas/tiktok/tt_commodity_statistics_get_category_statistics.json +28 -0
- proboost_cli/schemas/tiktok/tt_commodity_statistics_get_expert_statistics.json +28 -0
- proboost_cli/schemas/tiktok/tt_commodity_statistics_get_price_statistics.json +28 -0
- proboost_cli/schemas/tiktok/tt_commodity_statistics_get_total_statistics.json +28 -0
- proboost_cli/schemas/tiktok/tt_commodity_voice_analyze.json +36 -0
- proboost_cli/schemas/tiktok/tt_expert_basic_analyze.json +24 -0
- proboost_cli/schemas/tiktok/tt_expert_category_analyze.json +29 -0
- proboost_cli/schemas/tiktok/tt_expert_detail.json +20 -0
- proboost_cli/schemas/tiktok/tt_expert_fans_analyze.json +20 -0
- proboost_cli/schemas/tiktok/tt_expert_fans_portrait.json +20 -0
- proboost_cli/schemas/tiktok/tt_expert_info_list.json +180 -0
- proboost_cli/schemas/tiktok/tt_sale_channel_sale_channel.json +26 -0
- proboost_cli/schemas/tiktok/tt_shop_commodity_account_list.json +28 -0
- proboost_cli/schemas/tiktok/tt_shop_detail.json +28 -0
- proboost_cli/schemas/tiktok/tt_shop_info_list.json +108 -0
- proboost_cli/schemas/tiktok/tt_shop_market_info.json +28 -0
- proboost_cli/schemas/tiktok/tt_shop_sales_trend.json +33 -0
- proboost_cli/schemas/tiktok/tt_video_content.json +20 -0
- proboost_cli/schemas/tiktok/tt_video_detail.json +20 -0
- proboost_cli/schemas/tiktok/tt_video_info_list.json +152 -0
- proboost_cli/schemas/tiktok/tt_video_new_video_summary.json +20 -0
- proboost_cli/schemas/tiktok/tt_video_script_diy_query.json +20 -0
- proboost_cli/schemas/tiktok/tt_video_voice_read.json +28 -0
- proboost_cli/schemas/tiktok/tt_video_voice_summary.json +28 -0
- proboost_cli/schemas_loader.py +49 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_commodity_voice_analyze",
|
|
3
|
+
"description": "TT 商品原声/评论口碑分析:按维度分组返回观点摘要、提及次数、占比与说明;需 commodityId。无配置时 data 为空数组。若传 size 则须 ≤30;若传 startTime/endTime 须成对。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"commodityId": {
|
|
8
|
+
"description": "TT 商品 ID;为空时报「商品编号不能为空」。",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"countryRegion": {
|
|
12
|
+
"description": "国家/地区,与其它商品接口对齐用;本分析以商品 ID 为主。",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"current": {
|
|
16
|
+
"description": "页码,继承分页模型默认 1;本接口不做列表分页,可不传。",
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"endTime": {
|
|
20
|
+
"description": "结束时间;须与 startTime 成对。本接口统计不依赖时间筛选。",
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"size": {
|
|
24
|
+
"description": "每页条数,继承模型默认 10;若传入须 ≤30,否则「超出每页最大数据限制」。",
|
|
25
|
+
"type": "integer"
|
|
26
|
+
},
|
|
27
|
+
"startTime": {
|
|
28
|
+
"description": "开始时间;与 endTime 须同时有或同时无,否则日期校验失败。本接口统计不依赖时间筛选。",
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"commodityId"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_basic_analyze",
|
|
3
|
+
"description": "查询达人基础分析趋势(点赞、播放、转发等时间序列);返回后 tkExpertDetailService.dealTrend 会补充 TT 侧趋势。;无达人数据时可能 100100102。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"analyzeTrendType": {
|
|
8
|
+
"description": "趋势类型",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"countryRegion": {
|
|
12
|
+
"description": "国家/地区",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"expertId": {
|
|
16
|
+
"description": "达人编号;paramCheck 要求非空",
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"expertId"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_category_analyze",
|
|
3
|
+
"description": "TT 商品带货达人类目维度分析:在一级或二级类目粒度下,查看为该商品带货的达人在各子类目上的分布(达人数、销量合计、占比、人均销量)。categoryLevel=2 时必须传 categoryId;无统计时 data 为空数组。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"categoryId": {
|
|
8
|
+
"description": "类目 ID;当 categoryLevel 为 2 时必填,否则报「类目id不能为空」;为 1 时可不传(含义以联调为准)。",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"categoryLevel": {
|
|
12
|
+
"description": "类目层级:1 一级类目下钻;2 二级类目下钻。为空时报「类目层级不能为空」;其它取值通常无统计结果。",
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"commodityId": {
|
|
16
|
+
"description": "TT 商品 ID;为空时报「商品编号不能为空」。",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"countryRegion": {
|
|
20
|
+
"description": "国家/地区,建议与选品站点一致,否则可能无数据或不准。",
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"commodityId",
|
|
26
|
+
"categoryLevel"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_detail",
|
|
3
|
+
"description": "查询 TT 达人详情(粉丝与互动、带货与 GPM、简介与邮箱脱敏等)。;无达人数据时可能 100100102;详情余量不足且无「查看全部」会拦截;成功扣减详情次数。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区;传入 ExpertDTO 用于分表/大区",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"expertId": {
|
|
12
|
+
"description": "达人编号;paramCheck 要求非空",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"expertId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_fans_analyze",
|
|
3
|
+
"description": "TT 商品带货达人粉丝档位分析:按粉丝量级分档统计达人数、类目销量合计、占比与人均销量;有数据时通常固定 5 档。档位名称 group 随请求头 Language。无统计时 data 为空数组。态;密钥仅走网关。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"commodityId": {
|
|
8
|
+
"description": "TT 商品 ID;为空时报「商品编号不能为空」。",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"countryRegion": {
|
|
12
|
+
"description": "国家/地区,建议与选品站点一致,否则可能无数据或不准。",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"commodityId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_fans_portrait",
|
|
3
|
+
"description": "查询达人粉丝画像(性别比例、年龄结构等,多为服务端序列化后的字符串,结构以联调为准)。;无数据时可能成功且 data 为 null。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区;传入 ExpertDTO.region",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"expertId": {
|
|
12
|
+
"description": "达人编号;paramCheck 要求非空",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"expertId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_expert_info_list",
|
|
3
|
+
"description": "分页查询 TT 达人选品列表,支持国家/地区、关键词、类目、粉丝与互动、带货与 GPM、关联商品/店铺等筛选与排序;返回达人基础指标与近 30 日带货相关指标。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"averageLikeNumberEnd": {
|
|
8
|
+
"description": "均赞数区间上限",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"averageLikeNumberStart": {
|
|
12
|
+
"description": "均赞数区间下限",
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"averagePlayNumberEnd": {
|
|
16
|
+
"description": "均播数区间上限",
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"averagePlayNumberStart": {
|
|
20
|
+
"description": "均播数区间下限",
|
|
21
|
+
"type": "integer"
|
|
22
|
+
},
|
|
23
|
+
"averageRetweetNumberEnd": {
|
|
24
|
+
"description": "均转发数区间上限",
|
|
25
|
+
"type": "integer"
|
|
26
|
+
},
|
|
27
|
+
"averageRetweetNumberStart": {
|
|
28
|
+
"description": "均转发数区间下限",
|
|
29
|
+
"type": "integer"
|
|
30
|
+
},
|
|
31
|
+
"averageReviewsNumberEnd": {
|
|
32
|
+
"description": "均评论数区间上限",
|
|
33
|
+
"type": "integer"
|
|
34
|
+
},
|
|
35
|
+
"averageReviewsNumberStart": {
|
|
36
|
+
"description": "均评论数区间下限",
|
|
37
|
+
"type": "integer"
|
|
38
|
+
},
|
|
39
|
+
"commodityId": {
|
|
40
|
+
"description": "商品 ID;非空时仅保留带过该商品的达人",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"contactable": {
|
|
44
|
+
"description": "是否可联系等业务筛选,与站内一致",
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"countryRegion": {
|
|
48
|
+
"description": "国家/地区,与站内选品一致,用于分国家数据域",
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"current": {
|
|
52
|
+
"description": "当前页码,默认 1;无「查看全部」权限时 current > 3 会报错",
|
|
53
|
+
"type": "integer"
|
|
54
|
+
},
|
|
55
|
+
"dataPeriod": {
|
|
56
|
+
"description": "数据周期:day / week / month 与 date 联用;last7d / last30d 等见接口文档附录",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"date": {
|
|
60
|
+
"description": "统计日,ISO 8601 日期时间字符串;与 dataPeriod 为 day/week/month 时配合使用",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"expertCategory": {
|
|
64
|
+
"description": "达人类目",
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"expertGPMEnd": {
|
|
68
|
+
"description": "达人 GPM 区间上限(小数)",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"expertGPMStart": {
|
|
72
|
+
"description": "达人 GPM 区间下限(小数)",
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"expertIdList": {
|
|
76
|
+
"description": "达人 ID 列表(批量筛选)",
|
|
77
|
+
"type": "array"
|
|
78
|
+
},
|
|
79
|
+
"expertLiveGPMEnd": {
|
|
80
|
+
"description": "直播 GPM 区间上限(小数)",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"expertLiveGPMStart": {
|
|
84
|
+
"description": "直播 GPM 区间下限(小数)",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"expertName": {
|
|
88
|
+
"description": "达人昵称/账号关键词,空格分词子串匹配",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"expertSalesNumberEnd": {
|
|
92
|
+
"description": "达人销量区间上限",
|
|
93
|
+
"type": "integer"
|
|
94
|
+
},
|
|
95
|
+
"expertSalesNumberStart": {
|
|
96
|
+
"description": "达人销量区间下限",
|
|
97
|
+
"type": "integer"
|
|
98
|
+
},
|
|
99
|
+
"expertType": {
|
|
100
|
+
"description": "达人类型:powerExpert 带货达人 / notPowerExpert 不带货达人",
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"fansNumberEnd": {
|
|
104
|
+
"description": "粉丝数区间上限",
|
|
105
|
+
"type": "integer"
|
|
106
|
+
},
|
|
107
|
+
"fansNumberStart": {
|
|
108
|
+
"description": "粉丝数区间下限",
|
|
109
|
+
"type": "integer"
|
|
110
|
+
},
|
|
111
|
+
"hasLive": {
|
|
112
|
+
"description": "是否有直播等筛选",
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"hasVideo": {
|
|
116
|
+
"description": "是否有视频等筛选",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"interactionRateEnd": {
|
|
120
|
+
"description": "互动率区间上限(百分比口径)",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"interactionRateStart": {
|
|
124
|
+
"description": "互动率区间下限(百分比口径,与前端一致;服务端会换算为小数)",
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"lastPublishDays": {
|
|
128
|
+
"description": "距离上次发布天数",
|
|
129
|
+
"type": "integer"
|
|
130
|
+
},
|
|
131
|
+
"offset": {
|
|
132
|
+
"description": "偏移量,可选,高级分页场景",
|
|
133
|
+
"type": "integer"
|
|
134
|
+
},
|
|
135
|
+
"operationType": {
|
|
136
|
+
"description": "达人类型:1 个人运营 / 2 店铺运营 等,与站内一致",
|
|
137
|
+
"type": "integer"
|
|
138
|
+
},
|
|
139
|
+
"orderType": {
|
|
140
|
+
"description": "排序类型,如 fansNumberDesc(默认粉丝降序)、expertVideoNumberAsc 等,完整枚举见 ExpertInfoRequest 注释",
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"powerSaleGMVEnd": {
|
|
144
|
+
"description": "带货 GMV 区间上限(小数)",
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"powerSaleGMVStart": {
|
|
148
|
+
"description": "带货 GMV 区间下限(小数)",
|
|
149
|
+
"type": "string"
|
|
150
|
+
},
|
|
151
|
+
"powerSaleNumberEnd": {
|
|
152
|
+
"description": "带货数区间上限",
|
|
153
|
+
"type": "integer"
|
|
154
|
+
},
|
|
155
|
+
"powerSaleNumberStart": {
|
|
156
|
+
"description": "带货数区间下限",
|
|
157
|
+
"type": "integer"
|
|
158
|
+
},
|
|
159
|
+
"shopId": {
|
|
160
|
+
"description": "店铺 ID",
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"size": {
|
|
164
|
+
"description": "每页条数,默认 10,最大 30(超出抛业务异常)",
|
|
165
|
+
"type": "integer"
|
|
166
|
+
},
|
|
167
|
+
"videoNumberEnd": {
|
|
168
|
+
"description": "视频数区间上限",
|
|
169
|
+
"type": "integer"
|
|
170
|
+
},
|
|
171
|
+
"videoNumberStart": {
|
|
172
|
+
"description": "视频数区间下限",
|
|
173
|
+
"type": "integer"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"countryRegion"
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_sale_channel_sale_channel",
|
|
3
|
+
"description": "TT 商品近30日成交渠道占比:商品卡、店铺自营、达人带货的销量或销售额及占比(达人部分为残差,三项均为 0 时占比归零)。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区;不能为空(@NotBlank)。",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"productId": {
|
|
12
|
+
"description": "TT 商品 ID;不能为空(@NotBlank)。",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"saleType": {
|
|
16
|
+
"description": "统计维度:1 近30日总销量;2 近30日总销售额;不能为空(@NotNull),应传 1 或 2。",
|
|
17
|
+
"type": "integer"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"countryRegion",
|
|
22
|
+
"productId",
|
|
23
|
+
"saleType"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_shop_commodity_account_list",
|
|
3
|
+
"description": "按店铺查询各商品类目的数量占比与销量占比列表",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区;传入 ShopDTO.countryRegion",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"dataPeriod": {
|
|
12
|
+
"description": "数据维度(日/周/月);请求体字段存在,当前该接口仅映射 shopId、countryRegion,未传入 ShopDTO",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"date": {
|
|
16
|
+
"description": "数据日期,yyyy-MM-dd(GMT+8);当前该接口未映射到 ShopDTO",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"shopId": {
|
|
20
|
+
"description": "店铺编号;paramCheck 要求非空",
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"shopId"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_shop_detail",
|
|
3
|
+
"description": "查询 TT 店铺详情(名称、类目、评分、在售数、链接与关注状态等)。;TT 详情余量不足且无「查看全部」时会拦截;成功会扣减详情次数。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"dataPeriod": {
|
|
12
|
+
"description": "数据维度(日/周/月等);与 date 联用,传入 ShopDTO",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"date": {
|
|
16
|
+
"description": "数据日期,yyyy-MM-dd(GMT+8)",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"shopId": {
|
|
20
|
+
"description": "店铺编号;paramCheck 要求非空",
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"shopId"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_shop_info_list",
|
|
3
|
+
"description": "分页查询 TT 店铺选品列表;dataPeriod 必填。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"current": {
|
|
12
|
+
"description": "当前页码,默认 1;无「查看全部」权限时 current > 3 会报错",
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"dataPeriod": {
|
|
16
|
+
"description": "数据维度(日/周/月等);paramCheck 要求非空,否则 100100147",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"date": {
|
|
20
|
+
"description": "统计日期,yyyy-MM-dd(GMT+8)",
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"isCrossBorder": {
|
|
24
|
+
"description": "是否全托管:0 本土 / 1 跨境",
|
|
25
|
+
"type": "integer"
|
|
26
|
+
},
|
|
27
|
+
"mainCategory": {
|
|
28
|
+
"description": "主营类目",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"onSaleProductAmountEnd": {
|
|
32
|
+
"description": "在售商品数区间止",
|
|
33
|
+
"type": "integer"
|
|
34
|
+
},
|
|
35
|
+
"onSaleProductAmountStart": {
|
|
36
|
+
"description": "在售商品数区间起",
|
|
37
|
+
"type": "integer"
|
|
38
|
+
},
|
|
39
|
+
"orderType": {
|
|
40
|
+
"description": "排序类型,见 ShopInfoRequest 注释",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"relateExpertAmountEnd": {
|
|
44
|
+
"description": "关联达人数区间止",
|
|
45
|
+
"type": "integer"
|
|
46
|
+
},
|
|
47
|
+
"relateExpertAmountStart": {
|
|
48
|
+
"description": "关联达人数区间起",
|
|
49
|
+
"type": "integer"
|
|
50
|
+
},
|
|
51
|
+
"reportDateEnd": {
|
|
52
|
+
"description": "报告日期止",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"reportDateStart": {
|
|
56
|
+
"description": "报告日期起",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"reportMonthEnd": {
|
|
60
|
+
"description": "报告月止",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"reportMonthStart": {
|
|
64
|
+
"description": "报告月起",
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"saleAmountEnd": {
|
|
68
|
+
"description": "销量区间止",
|
|
69
|
+
"type": "integer"
|
|
70
|
+
},
|
|
71
|
+
"saleAmountStart": {
|
|
72
|
+
"description": "销量区间起",
|
|
73
|
+
"type": "integer"
|
|
74
|
+
},
|
|
75
|
+
"scoreEnd": {
|
|
76
|
+
"description": "评分区间止(小数)",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"scoreStart": {
|
|
80
|
+
"description": "评分区间起(小数)",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"shopId": {
|
|
84
|
+
"description": "店铺 ID",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"shopIdList": {
|
|
88
|
+
"description": "店铺 ID 列表(批量筛选)",
|
|
89
|
+
"type": "array"
|
|
90
|
+
},
|
|
91
|
+
"shopName": {
|
|
92
|
+
"description": "店铺名称关键词",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"shopType": {
|
|
96
|
+
"description": "店铺类型:0 本土 / 2 跨境 等",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"size": {
|
|
100
|
+
"description": "每页条数,默认 10,最大 30(pbParamCheck)",
|
|
101
|
+
"type": "integer"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"dataPeriod"
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_shop_market_info",
|
|
3
|
+
"description": "查询店铺市场大盘指标(在售/动销、销量、销售额、排名与环比、关联达人/视频/直播等)。dataPeriod 必填;无命中数据时仍可能成功且各字段多为空。。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"dataPeriod": {
|
|
12
|
+
"description": "数据维度(日/周/月等);paramCheck 要求非空,否则业务码 100100147(口径未输入)",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"date": {
|
|
16
|
+
"description": "统计日期,yyyy-MM-dd(GMT+8)",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"shopId": {
|
|
20
|
+
"description": "店铺 ID;查询单店大盘时必传(服务端按 shopId + 大区等查分析表)",
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"dataPeriod"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_shop_sales_trend",
|
|
3
|
+
"description": "查询店铺销售/评论等趋势(多组 analyzeTrendType,每组含时间序列点)。commodityId 与 shopId 不能同时为空",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"commodityId": {
|
|
8
|
+
"description": "商品编号;与 shopId 至少填一个;店铺场景通常只传 shopId",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"countryRegion": {
|
|
12
|
+
"description": "国家/地区",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"month": {
|
|
16
|
+
"description": "月份(字符串,与业务约定一致)",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"pastDays": {
|
|
20
|
+
"description": "回溯天数",
|
|
21
|
+
"type": "integer"
|
|
22
|
+
},
|
|
23
|
+
"pastMonth": {
|
|
24
|
+
"description": "回溯月数",
|
|
25
|
+
"type": "integer"
|
|
26
|
+
},
|
|
27
|
+
"shopId": {
|
|
28
|
+
"description": "店铺编号;与 commodityId 至少填一个(paramCheck);本接口将 shopId 作为 entryId 查询店铺销售趋势",
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_video_content",
|
|
3
|
+
"description": "按视频 ID 查询库中口播/语音转写正文(与 DIY 脚本、系统脚本链路前置的口播原文一致)。;无正文时仍可能成功且 data 为 null 或空字符串。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区(中文名),用于大区视频分表路由;建议与列表/详情等接口保持一致传入",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"videoId": {
|
|
12
|
+
"description": "视频编号;paramCheck 要求非空,否则业务提示「视频编号不能为空」",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"videoId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tt_video_detail",
|
|
3
|
+
"description": "查询 TT 视频详情(播放互动、类型、总结/脚本标记、关注状态等)。",
|
|
4
|
+
"arguments": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"countryRegion": {
|
|
8
|
+
"description": "国家/地区;传入 VideoDTO 用于分表/大区路由,建议与列表等接口一致",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"videoId": {
|
|
12
|
+
"description": "视频编号;paramCheck 要求非空",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"videoId"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|