redfox-python-sdk 0.6.0__tar.gz → 0.7.0__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.
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/PKG-INFO +2 -2
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/README.md +1 -1
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/__init__.py +1 -1
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/xiaohongshu.py +3 -3
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/PKG-INFO +2 -2
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/setup.py +1 -1
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/client.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/__init__.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/ai_search.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/autohome.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/baijiahao.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/bilibili.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/dongchedi.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/doubao_image.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/doubao_video.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/douyin.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/gpt_image.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/hotspot.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/instagram.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/kuaishou.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/tiktok.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/tools.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/toutiao.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/twitter.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/wechat.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/wechat_channels.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/weibo.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/yiche.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/youtube.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/zhihu.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/exceptions.py +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/SOURCES.txt +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/dependency_links.txt +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/requires.txt +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/top_level.txt +0 -0
- {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: redfox-python-sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: RedFox 红狐数据平台 Python SDK — 同步+异步双客户端,自动重试,零配置
|
|
5
5
|
Home-page: https://redfox.hk
|
|
6
6
|
Author: RedFox
|
|
@@ -241,7 +241,7 @@ client.xiaohongshu.get_daily_hot_rank(rank_date="2026-08-20", category="综合
|
|
|
241
241
|
client.xiaohongshu.get_weekly_hot_rank(rank_date="2026-08-20", category="综合全部")
|
|
242
242
|
client.xiaohongshu.get_hot_accounts(date_type=1, rank_date="2026-08-20", type="综合全部")
|
|
243
243
|
client.xiaohongshu.search_hot_notes(keyword="穿搭", start_date="2026-08-01", end_date="2026-08-20")
|
|
244
|
-
client.xiaohongshu.get_dark_horse_notes(
|
|
244
|
+
client.xiaohongshu.get_dark_horse_notes(category="美妆", start_date="2026-08-01")
|
|
245
245
|
|
|
246
246
|
# ─── 视频提文案 ───
|
|
247
247
|
task = client.xiaohongshu.transcript_submit(url="https://www.xiaohongshu.com/explore/xxx")
|
|
@@ -217,7 +217,7 @@ client.xiaohongshu.get_daily_hot_rank(rank_date="2026-08-20", category="综合
|
|
|
217
217
|
client.xiaohongshu.get_weekly_hot_rank(rank_date="2026-08-20", category="综合全部")
|
|
218
218
|
client.xiaohongshu.get_hot_accounts(date_type=1, rank_date="2026-08-20", type="综合全部")
|
|
219
219
|
client.xiaohongshu.search_hot_notes(keyword="穿搭", start_date="2026-08-01", end_date="2026-08-20")
|
|
220
|
-
client.xiaohongshu.get_dark_horse_notes(
|
|
220
|
+
client.xiaohongshu.get_dark_horse_notes(category="美妆", start_date="2026-08-01")
|
|
221
221
|
|
|
222
222
|
# ─── 视频提文案 ───
|
|
223
223
|
task = client.xiaohongshu.transcript_submit(url="https://www.xiaohongshu.com/explore/xxx")
|
|
@@ -300,17 +300,17 @@ class XiaohongshuAPI:
|
|
|
300
300
|
data["endDate"] = end_date
|
|
301
301
|
return self._client.post("/story/api/xhs/search/search", data=data, source=source)
|
|
302
302
|
|
|
303
|
-
def get_dark_horse_notes(self,
|
|
303
|
+
def get_dark_horse_notes(self, category: str, start_date: str, source: str = "小红书黑马爆文榜-SDK") -> dict:
|
|
304
304
|
"""
|
|
305
305
|
小红书黑马爆文榜
|
|
306
306
|
|
|
307
|
-
:param
|
|
307
|
+
:param category: 分类(必填)
|
|
308
308
|
:param start_date: 开始日期,格式 yyyy-MM-dd(必填),最长为最近 30 天,默认 30 天前
|
|
309
309
|
:return: 黑马爆文榜字典
|
|
310
310
|
"""
|
|
311
311
|
return self._client.post(
|
|
312
312
|
"/story/api/cozeSkill/getLowPowderExplosiveArticle",
|
|
313
|
-
data={"
|
|
313
|
+
data={"category": category, "startDate": start_date},
|
|
314
314
|
source=source,
|
|
315
315
|
)
|
|
316
316
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: redfox-python-sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: RedFox 红狐数据平台 Python SDK — 同步+异步双客户端,自动重试,零配置
|
|
5
5
|
Home-page: https://redfox.hk
|
|
6
6
|
Author: RedFox
|
|
@@ -241,7 +241,7 @@ client.xiaohongshu.get_daily_hot_rank(rank_date="2026-08-20", category="综合
|
|
|
241
241
|
client.xiaohongshu.get_weekly_hot_rank(rank_date="2026-08-20", category="综合全部")
|
|
242
242
|
client.xiaohongshu.get_hot_accounts(date_type=1, rank_date="2026-08-20", type="综合全部")
|
|
243
243
|
client.xiaohongshu.search_hot_notes(keyword="穿搭", start_date="2026-08-01", end_date="2026-08-20")
|
|
244
|
-
client.xiaohongshu.get_dark_horse_notes(
|
|
244
|
+
client.xiaohongshu.get_dark_horse_notes(category="美妆", start_date="2026-08-01")
|
|
245
245
|
|
|
246
246
|
# ─── 视频提文案 ───
|
|
247
247
|
task = client.xiaohongshu.transcript_submit(url="https://www.xiaohongshu.com/explore/xxx")
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="redfox-python-sdk",
|
|
5
|
-
version="0.
|
|
5
|
+
version="0.7.0",
|
|
6
6
|
description="RedFox 红狐数据平台 Python SDK — 同步+异步双客户端,自动重试,零配置",
|
|
7
7
|
long_description=open("README.md", encoding="utf-8").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
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
|
{redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|