Skip to content
Merged
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
2 changes: 1 addition & 1 deletion justoneapi/generated/resources/amazon.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_best_sellers_v1(
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.

Args:
category: Best sellers category to return products for (e.g. 'software' or 'software/229535').
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
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
page: Page number for pagination.
"""
Expand Down
23 changes: 0 additions & 23 deletions justoneapi/generated/resources/douyin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ def get_user_detail_v3(
},
)

def get_user_video_list_v1(
self,
*,
sec_uid: str,
max_cursor: int | None = 0,
) -> ApiResponse[Any]:
"""
User Published Videos

Get Douyin (TikTok China) user Published Videos data, including captions, covers, and publish times, for account monitoring.

Args:
sec_uid: The unique user ID (sec_uid) on Douyin.
max_cursor: Pagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
"""
return self._get(
"/api/douyin/get-user-video-list/v1",
{
"secUid": sec_uid,
"maxCursor": max_cursor,
},
)

def get_user_video_list_v3(
self,
*,
Expand Down
49 changes: 0 additions & 49 deletions justoneapi/generated/resources/douyin_xingtu.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,29 +782,6 @@ def get_kol_spread_info_v1(
},
)

def search_douyin_kol_v1(
self,
*,
body: str,
accept_cache: bool | None = False,
) -> ApiResponse[Any]:
"""
Legacy KOL Search

Get Douyin Creator Marketplace (Xingtu) legacy KOL Search data, including preserving the request format, for creator evaluation, campaign planning, and marketplace research.

Args:
body: JSON request body.
accept_cache: Enable cache.
"""
return self._get(
"/api/douyin-xingtu/search-douyin-kol/v1",
{
"body": body,
"acceptCache": accept_cache,
},
)

def search_kol_simple_v1(
self,
*,
Expand Down Expand Up @@ -1033,32 +1010,6 @@ def get_kol_rec_videos_v1(
},
)

def search_for_author_square_v3(
self,
*,
page: int,
fans_low: int,
fans_high: int,
) -> ApiResponse[Any]:
"""
Creator Search

Get Douyin Creator Marketplace (Xingtu) creator Search data, including filters, returning profile, and audience, for discovery, comparison, and shortlist building.

Args:
page: Page number.
fans_low: Minimum fans count.
fans_high: Maximum fans count.
"""
return self._get(
"/api/douyin-xingtu/search-for-author-square/v3",
{
"page": page,
"fansLow": fans_low,
"fansHigh": fans_high,
},
)

def get_kol_daily_fans_v1(
self,
*,
Expand Down
20 changes: 20 additions & 0 deletions justoneapi/generated/resources/taobao.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,26 @@ def get_item_detail_v1(
},
)

def get_item_detail_v2(
self,
*,
item_id: str,
) -> ApiResponse[Any]:
"""
Product Details

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.

Args:
item_id: AUnique product identifier on Taobao/Tmall (item ID).
"""
return self._get(
"/api/taobao/get-item-detail/v2",
{
"itemId": item_id,
},
)

def get_item_detail_v4(
self,
*,
Expand Down
2 changes: 1 addition & 1 deletion justoneapi/generated/resources/xiaohongshu.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def search_note_v2(
page: Page number for pagination.
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
note_type: Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal
note_time: Note publish time filter. Available Values: - `一天内`: Within one day - `一周内`: Within a week - `半年内`: Within half a year
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
"""
return self._get(
"/api/xiaohongshu/search-note/v2",
Expand Down
26 changes: 0 additions & 26 deletions justoneapi/generated/resources/xiaohongshu_pgy.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,32 +532,6 @@ def get_kol_note_list_v1(
},
)

def get_kol_data_summary_v1(
self,
*,
kol_id: str,
business: str,
accept_cache: bool | None = False,
) -> ApiResponse[Any]:
"""
Data Summary

Get Xiaohongshu Creator Marketplace (Pugongying) summary data, including activity, engagement, and audience growth, for creator evaluation, campaign planning, and creator benchmarking.

Args:
kol_id: KOL ID.
business: Business type. Available Values: - `_0`: Normal notes - `_1`: Cooperation notes
accept_cache: Enable cache.
"""
return self._get(
"/api/xiaohongshu-pgy/get-kol-data-summary/v1",
{
"kolId": kol_id,
"business": business,
"acceptCache": accept_cache,
},
)

def get_kol_data_summary_v2(
self,
*,
Expand Down
Loading