justoneapi 3.0.134__tar.gz → 3.0.135__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.134/justoneapi.egg-info → justoneapi-3.0.135}/PKG-INFO +1 -1
- justoneapi-3.0.135/justoneapi/_version.py +1 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/bilibili.py +26 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/twitter.py +20 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/xiaohongshu.py +32 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135/justoneapi.egg-info}/PKG-INFO +1 -1
- justoneapi-3.0.134/justoneapi/_version.py +0 -1
- {justoneapi-3.0.134 → justoneapi-3.0.135}/LICENSE +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/MANIFEST.in +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/README.md +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/_exceptions.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/_resource.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/_response.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/_transport.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/client.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/config.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/models.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/aliexpress.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/amazon.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/baidu_index.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/baidu_tieba.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/beike.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/dewu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douban.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douyin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douyin_ec.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douyin_index.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douyin_live.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/douyin_xingtu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/facebook.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/field_1688.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/imdb.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/instagram.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/jd.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/kuaishou.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/linkedin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/llm.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/qq_huxuan.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/reddit.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/search.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/shopee.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/taobao.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/temu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/tiktok.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/tiktok_shop.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/toutiao.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/vipshop.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/weibo.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/weixin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/weixin_channels.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/xianyu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/xiaohongshu_ec.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/youku.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/youtube.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/zcool.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/generated/resources/zhihu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi/log.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi.egg-info/SOURCES.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi.egg-info/dependency_links.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi.egg-info/requires.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/justoneapi.egg-info/top_level.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/pyproject.toml +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/setup.cfg +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/setup.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_bump_version.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_codegen.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_generated_surface.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_integration_smoke.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_pypi_readme.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.135}/tests/test_runtime.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.135"
|
|
@@ -124,6 +124,32 @@ class BilibiliResource(BaseResource):
|
|
|
124
124
|
},
|
|
125
125
|
)
|
|
126
126
|
|
|
127
|
+
def get_video_sub_comment_v1(
|
|
128
|
+
self,
|
|
129
|
+
*,
|
|
130
|
+
aid: str,
|
|
131
|
+
comment_id: str,
|
|
132
|
+
page: int | None = 1,
|
|
133
|
+
) -> ApiResponse[Any]:
|
|
134
|
+
"""
|
|
135
|
+
Comment Replies
|
|
136
|
+
|
|
137
|
+
Retrieves a page of replies to a top-level Bilibili video comment. Use it to read or analyze the discussion under a known comment.
|
|
138
|
+
|
|
139
|
+
Args:
|
|
140
|
+
aid: Decimal Archive ID (AID) of the video.
|
|
141
|
+
comment_id: Decimal ID of the top-level comment. Use the rpid_str value from the video comments response.
|
|
142
|
+
page: Reply page number, starting from 1.
|
|
143
|
+
"""
|
|
144
|
+
return self._get(
|
|
145
|
+
"/api/bilibili/get-video-sub-comment/v1",
|
|
146
|
+
{
|
|
147
|
+
"aid": aid,
|
|
148
|
+
"commentId": comment_id,
|
|
149
|
+
"page": page,
|
|
150
|
+
},
|
|
151
|
+
)
|
|
152
|
+
|
|
127
153
|
def search_video_v2(
|
|
128
154
|
self,
|
|
129
155
|
*,
|
|
@@ -120,3 +120,23 @@ class TwitterResource(BaseResource):
|
|
|
120
120
|
"tweetId": tweet_id,
|
|
121
121
|
},
|
|
122
122
|
)
|
|
123
|
+
|
|
124
|
+
def get_trends_v1(
|
|
125
|
+
self,
|
|
126
|
+
*,
|
|
127
|
+
country: str | None = "UnitedStates",
|
|
128
|
+
) -> ApiResponse[Any]:
|
|
129
|
+
"""
|
|
130
|
+
Trending Topics
|
|
131
|
+
|
|
132
|
+
Retrieves current X (Twitter) trending topics for a country, defaulting to the United States. Use it to discover popular topics in a market.
|
|
133
|
+
|
|
134
|
+
Args:
|
|
135
|
+
country: Country whose trending topics to retrieve. Available Values: - `UnitedStates`: UnitedStates - `China`: China - `India`: India - `Japan`: Japan - `Russia`: Russia - `Germany`: Germany - `Indonesia`: Indonesia - `Brazil`: Brazil - `France`: France - `UnitedKingdom`: UnitedKingdom - `Turkey`: Turkey - `Italy`: Italy - `Mexico`: Mexico - `SouthKorea`: SouthKorea - `Canada`: Canada - `Spain`: Spain - `SaudiArabia`: SaudiArabia - `Egypt`: Egypt - `Australia`: Australia - `Poland`: Poland - `Iran`: Iran - `Pakistan`: Pakistan - `Vietnam`: Vietnam - `Nigeria`: Nigeria - `Bangladesh`: Bangladesh - `Netherlands`: Netherlands - `Argentina`: Argentina - `Philippines`: Philippines - `Malaysia`: Malaysia - `Colombia`: Colombia - `UniteArabEmirates`: United Arab Emirates - `Romania`: Romania - `Belgium`: Belgium - `Switzerland`: Switzerland - `Singapore`: Singapore - `Sweden`: Sweden - `Norway`: Norway - `Austria`: Austria - `Kazakhstan`: Kazakhstan - `Algeria`: Algeria - `Chile`: Chile - `Czechia`: Czechia - `Peru`: Peru - `Iraq`: Iraq - `Israel`: Israel - `Ukraine`: Ukraine - `Denmark`: Denmark - `Portugal`: Portugal - `Hungary`: Hungary - `Greece`: Greece - `Finland`: Finland - `NewZealand`: NewZealand - `Belarus`: Belarus - `Slovakia`: Slovakia - `Serbia`: Serbia - `Lithuania`: Lithuania - `Luxembourg`: Luxembourg - `Estonia`: Estonia
|
|
136
|
+
"""
|
|
137
|
+
return self._get(
|
|
138
|
+
"/api/twitter/get-trends/v1",
|
|
139
|
+
{
|
|
140
|
+
"country": country,
|
|
141
|
+
},
|
|
142
|
+
)
|
|
@@ -222,6 +222,38 @@ class XiaohongshuResource(BaseResource):
|
|
|
222
222
|
},
|
|
223
223
|
)
|
|
224
224
|
|
|
225
|
+
def search_note_v6(
|
|
226
|
+
self,
|
|
227
|
+
*,
|
|
228
|
+
keyword: str,
|
|
229
|
+
page: int | None = 1,
|
|
230
|
+
sort_type: str | None = "general",
|
|
231
|
+
note_type: str | None = "ALL",
|
|
232
|
+
time_filter: str | None = "ALL",
|
|
233
|
+
) -> ApiResponse[Any]:
|
|
234
|
+
"""
|
|
235
|
+
Note Search
|
|
236
|
+
|
|
237
|
+
Searches Xiaohongshu (RedNote) notes by keyword with page-based pagination, sorting, note type, and publish time filters. Each note is returned inside a search result item.
|
|
238
|
+
|
|
239
|
+
Args:
|
|
240
|
+
keyword: Search keyword.
|
|
241
|
+
page: Page number, starting at 1.
|
|
242
|
+
sort_type: Sort order. The popularity_descending value sorts results by likes. Available Values: - `general`: General - `popularity_descending`: Popularity Descending - `time_descending`: Time Descending - `comment_descending`: Comment Descending - `collect_descending`: Collect Descending
|
|
243
|
+
note_type: Note type filter. Available Values: - `ALL`: No Limit - `VIDEO_NOTE`: Video Note - `NORMAL_NOTE`: Normal Note
|
|
244
|
+
time_filter: Publish time filter. Available Values: - `ALL`: No Limit - `ONE_DAY`: Within one day - `ONE_WEEK`: Within one week - `HALF_YEAR`: Within half a year
|
|
245
|
+
"""
|
|
246
|
+
return self._get(
|
|
247
|
+
"/api/xiaohongshu/search-note/v6",
|
|
248
|
+
{
|
|
249
|
+
"keyword": keyword,
|
|
250
|
+
"page": page,
|
|
251
|
+
"sortType": sort_type,
|
|
252
|
+
"noteType": note_type,
|
|
253
|
+
"timeFilter": time_filter,
|
|
254
|
+
},
|
|
255
|
+
)
|
|
256
|
+
|
|
225
257
|
def search_user_v2(
|
|
226
258
|
self,
|
|
227
259
|
*,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.134"
|
|
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
|
|
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
|