justoneapi 3.0.0__tar.gz → 3.0.1__tar.gz
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.
- {justoneapi-3.0.0 → justoneapi-3.0.1}/PKG-INFO +1 -1
- justoneapi-3.0.1/justoneapi/_version.py +1 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/amazon.py +1 -1
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/douyin.py +0 -23
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/douyin_xingtu.py +0 -49
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/taobao.py +20 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/xiaohongshu.py +1 -1
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -26
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi.egg-info/PKG-INFO +1 -1
- justoneapi-3.0.0/justoneapi/_version.py +0 -1
- {justoneapi-3.0.0 → justoneapi-3.0.1}/LICENSE +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/README.md +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/__init__.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/_exceptions.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/_resource.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/_response.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/_transport.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/client.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/config.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/__init__.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/models.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/__init__.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/beike.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/bilibili.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/douban.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/douyin_ec.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/facebook.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/imdb.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/instagram.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/jd.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/kuaishou.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/reddit.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/search.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/tiktok.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/tiktok_shop.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/toutiao.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/twitter.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/web.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/weibo.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/weixin.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/youku.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/youtube.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/generated/resources/zhihu.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi/log.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi.egg-info/SOURCES.txt +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi.egg-info/dependency_links.txt +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi.egg-info/requires.txt +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/justoneapi.egg-info/top_level.txt +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/pyproject.toml +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/setup.cfg +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/tests/test_codegen.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/tests/test_generated_surface.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/tests/test_integration_smoke.py +0 -0
- {justoneapi-3.0.0 → justoneapi-3.0.1}/tests/test_runtime.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.1"
|
|
@@ -68,7 +68,7 @@ class AmazonResource(BaseResource):
|
|
|
68
68
|
Get Amazon best Sellers data, including rank positions, product metadata, and pricing, for identifying trending products in specific categories, market share analysis and category research, and tracking sales rank and popularity over time.
|
|
69
69
|
|
|
70
70
|
Args:
|
|
71
|
-
category: Best sellers category to return products for (e.g. '
|
|
71
|
+
category: Best sellers category to return products for (e.g. 'baby-products' or 'baby-products/166777011'). The value is derived from the URL path of the Amazon Best Sellers page, such as: https://www.amazon.com/Best-Sellers-Baby-Baby-Toddler-Feeding-Supplies/zgbs/baby-products/166777011
|
|
72
72
|
country: Country code for the Amazon product. Available Values: - `US`: United States - `AU`: Australia - `BR`: Brazil - `CA`: Canada - `CN`: China - `FR`: France - `DE`: Germany - `IN`: India - `IT`: Italy - `MX`: Mexico - `NL`: Netherlands - `SG`: Singapore - `ES`: Spain - `TR`: Turkey - `AE`: United Arab Emirates - `GB`: United Kingdom - `JP`: Japan - `SA`: Saudi Arabia - `PL`: Poland - `SE`: Sweden - `BE`: Belgium - `EG`: Egypt - `ZA`: South Africa - `IE`: Ireland
|
|
73
73
|
page: Page number for pagination.
|
|
74
74
|
"""
|
|
@@ -29,29 +29,6 @@ class DouyinResource(BaseResource):
|
|
|
29
29
|
},
|
|
30
30
|
)
|
|
31
31
|
|
|
32
|
-
def get_user_video_list_v1(
|
|
33
|
-
self,
|
|
34
|
-
*,
|
|
35
|
-
sec_uid: str,
|
|
36
|
-
max_cursor: int | None = 0,
|
|
37
|
-
) -> ApiResponse[Any]:
|
|
38
|
-
"""
|
|
39
|
-
User Published Videos
|
|
40
|
-
|
|
41
|
-
Get Douyin (TikTok China) user Published Videos data, including captions, covers, and publish times, for account monitoring.
|
|
42
|
-
|
|
43
|
-
Args:
|
|
44
|
-
sec_uid: The unique user ID (sec_uid) on Douyin.
|
|
45
|
-
max_cursor: Pagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
|
|
46
|
-
"""
|
|
47
|
-
return self._get(
|
|
48
|
-
"/api/douyin/get-user-video-list/v1",
|
|
49
|
-
{
|
|
50
|
-
"secUid": sec_uid,
|
|
51
|
-
"maxCursor": max_cursor,
|
|
52
|
-
},
|
|
53
|
-
)
|
|
54
|
-
|
|
55
32
|
def get_user_video_list_v3(
|
|
56
33
|
self,
|
|
57
34
|
*,
|
|
@@ -782,29 +782,6 @@ class DouyinXingtuResource(BaseResource):
|
|
|
782
782
|
},
|
|
783
783
|
)
|
|
784
784
|
|
|
785
|
-
def search_douyin_kol_v1(
|
|
786
|
-
self,
|
|
787
|
-
*,
|
|
788
|
-
body: str,
|
|
789
|
-
accept_cache: bool | None = False,
|
|
790
|
-
) -> ApiResponse[Any]:
|
|
791
|
-
"""
|
|
792
|
-
Legacy KOL Search
|
|
793
|
-
|
|
794
|
-
Get Douyin Creator Marketplace (Xingtu) legacy KOL Search data, including preserving the request format, for creator evaluation, campaign planning, and marketplace research.
|
|
795
|
-
|
|
796
|
-
Args:
|
|
797
|
-
body: JSON request body.
|
|
798
|
-
accept_cache: Enable cache.
|
|
799
|
-
"""
|
|
800
|
-
return self._get(
|
|
801
|
-
"/api/douyin-xingtu/search-douyin-kol/v1",
|
|
802
|
-
{
|
|
803
|
-
"body": body,
|
|
804
|
-
"acceptCache": accept_cache,
|
|
805
|
-
},
|
|
806
|
-
)
|
|
807
|
-
|
|
808
785
|
def search_kol_simple_v1(
|
|
809
786
|
self,
|
|
810
787
|
*,
|
|
@@ -1033,32 +1010,6 @@ class DouyinXingtuResource(BaseResource):
|
|
|
1033
1010
|
},
|
|
1034
1011
|
)
|
|
1035
1012
|
|
|
1036
|
-
def search_for_author_square_v3(
|
|
1037
|
-
self,
|
|
1038
|
-
*,
|
|
1039
|
-
page: int,
|
|
1040
|
-
fans_low: int,
|
|
1041
|
-
fans_high: int,
|
|
1042
|
-
) -> ApiResponse[Any]:
|
|
1043
|
-
"""
|
|
1044
|
-
Creator Search
|
|
1045
|
-
|
|
1046
|
-
Get Douyin Creator Marketplace (Xingtu) creator Search data, including filters, returning profile, and audience, for discovery, comparison, and shortlist building.
|
|
1047
|
-
|
|
1048
|
-
Args:
|
|
1049
|
-
page: Page number.
|
|
1050
|
-
fans_low: Minimum fans count.
|
|
1051
|
-
fans_high: Maximum fans count.
|
|
1052
|
-
"""
|
|
1053
|
-
return self._get(
|
|
1054
|
-
"/api/douyin-xingtu/search-for-author-square/v3",
|
|
1055
|
-
{
|
|
1056
|
-
"page": page,
|
|
1057
|
-
"fansLow": fans_low,
|
|
1058
|
-
"fansHigh": fans_high,
|
|
1059
|
-
},
|
|
1060
|
-
)
|
|
1061
|
-
|
|
1062
1013
|
def get_kol_daily_fans_v1(
|
|
1063
1014
|
self,
|
|
1064
1015
|
*,
|
|
@@ -29,6 +29,26 @@ class TaobaoResource(BaseResource):
|
|
|
29
29
|
},
|
|
30
30
|
)
|
|
31
31
|
|
|
32
|
+
def get_item_detail_v2(
|
|
33
|
+
self,
|
|
34
|
+
*,
|
|
35
|
+
item_id: str,
|
|
36
|
+
) -> ApiResponse[Any]:
|
|
37
|
+
"""
|
|
38
|
+
Product Details
|
|
39
|
+
|
|
40
|
+
Get Taobao and Tmall product Details data through the task-backed v2 flow. If data is not ready within a short wait, the response returns a pending task status.
|
|
41
|
+
|
|
42
|
+
Args:
|
|
43
|
+
item_id: AUnique product identifier on Taobao/Tmall (item ID).
|
|
44
|
+
"""
|
|
45
|
+
return self._get(
|
|
46
|
+
"/api/taobao/get-item-detail/v2",
|
|
47
|
+
{
|
|
48
|
+
"itemId": item_id,
|
|
49
|
+
},
|
|
50
|
+
)
|
|
51
|
+
|
|
32
52
|
def get_item_detail_v4(
|
|
33
53
|
self,
|
|
34
54
|
*,
|
|
@@ -246,7 +246,7 @@ class XiaohongshuResource(BaseResource):
|
|
|
246
246
|
page: Page number for pagination.
|
|
247
247
|
sort: Sort order for the result set. Available Values: - `general`: General - `popularity_descending`: Popularity Descending - `time_descending`: Time Descending - `comment_descending`: Comment Descending - `collect_descending`: Collect Descending
|
|
248
248
|
note_type: Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal
|
|
249
|
-
note_time: Note publish time filter. Available Values: - `一天内`: Within one day - `一周内`: Within a week - `半年内`: Within half a year
|
|
249
|
+
note_time: Note publish time filter. This parameter is for reference only and does not have much effect. Available Values: - `一天内`: Within one day - `一周内`: Within a week - `半年内`: Within half a year
|
|
250
250
|
"""
|
|
251
251
|
return self._get(
|
|
252
252
|
"/api/xiaohongshu/search-note/v2",
|
|
@@ -532,32 +532,6 @@ class XiaohongshuPgyResource(BaseResource):
|
|
|
532
532
|
},
|
|
533
533
|
)
|
|
534
534
|
|
|
535
|
-
def get_kol_data_summary_v1(
|
|
536
|
-
self,
|
|
537
|
-
*,
|
|
538
|
-
kol_id: str,
|
|
539
|
-
business: str,
|
|
540
|
-
accept_cache: bool | None = False,
|
|
541
|
-
) -> ApiResponse[Any]:
|
|
542
|
-
"""
|
|
543
|
-
Data Summary
|
|
544
|
-
|
|
545
|
-
Get Xiaohongshu Creator Marketplace (Pugongying) summary data, including activity, engagement, and audience growth, for creator evaluation, campaign planning, and creator benchmarking.
|
|
546
|
-
|
|
547
|
-
Args:
|
|
548
|
-
kol_id: KOL ID.
|
|
549
|
-
business: Business type. Available Values: - `_0`: Normal notes - `_1`: Cooperation notes
|
|
550
|
-
accept_cache: Enable cache.
|
|
551
|
-
"""
|
|
552
|
-
return self._get(
|
|
553
|
-
"/api/xiaohongshu-pgy/get-kol-data-summary/v1",
|
|
554
|
-
{
|
|
555
|
-
"kolId": kol_id,
|
|
556
|
-
"business": business,
|
|
557
|
-
"acceptCache": accept_cache,
|
|
558
|
-
},
|
|
559
|
-
)
|
|
560
|
-
|
|
561
535
|
def get_kol_data_summary_v2(
|
|
562
536
|
self,
|
|
563
537
|
*,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|