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.
Files changed (36) hide show
  1. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/PKG-INFO +2 -2
  2. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/README.md +1 -1
  3. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/__init__.py +1 -1
  4. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/xiaohongshu.py +3 -3
  5. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/PKG-INFO +2 -2
  6. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/setup.py +1 -1
  7. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/client.py +0 -0
  8. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/__init__.py +0 -0
  9. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/ai_search.py +0 -0
  10. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/autohome.py +0 -0
  11. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/baijiahao.py +0 -0
  12. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/bilibili.py +0 -0
  13. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/dongchedi.py +0 -0
  14. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/doubao_image.py +0 -0
  15. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/doubao_video.py +0 -0
  16. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/douyin.py +0 -0
  17. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/gpt_image.py +0 -0
  18. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/hotspot.py +0 -0
  19. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/instagram.py +0 -0
  20. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/kuaishou.py +0 -0
  21. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/tiktok.py +0 -0
  22. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/tools.py +0 -0
  23. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/toutiao.py +0 -0
  24. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/twitter.py +0 -0
  25. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/wechat.py +0 -0
  26. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/wechat_channels.py +0 -0
  27. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/weibo.py +0 -0
  28. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/yiche.py +0 -0
  29. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/youtube.py +0 -0
  30. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/endpoints/zhihu.py +0 -0
  31. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox/exceptions.py +0 -0
  32. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/SOURCES.txt +0 -0
  33. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/dependency_links.txt +0 -0
  34. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/requires.txt +0 -0
  35. {redfox_python_sdk-0.6.0 → redfox_python_sdk-0.7.0}/redfox_python_sdk.egg-info/top_level.txt +0 -0
  36. {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.6.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(keyword="AI,穿搭", start_date="2026-08-01")
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(keyword="AI,穿搭", start_date="2026-08-01")
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")
@@ -3,7 +3,7 @@
3
3
  from .client import RedFoxClient, AsyncRedFoxClient
4
4
  from .exceptions import RedFoxAPIError, RedFoxAuthError, RedFoxRateLimitError
5
5
 
6
- __version__ = "0.6.0"
6
+ __version__ = "0.7.0"
7
7
  __all__ = [
8
8
  "RedFoxClient",
9
9
  "AsyncRedFoxClient",
@@ -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, keyword: str, start_date: str, source: str = "小红书黑马爆文榜-SDK") -> dict:
303
+ def get_dark_horse_notes(self, category: str, start_date: str, source: str = "小红书黑马爆文榜-SDK") -> dict:
304
304
  """
305
305
  小红书黑马爆文榜
306
306
 
307
- :param keyword: 关键词(必填),多个关键词用逗号分隔,最多 5 个,总长度不超过 200
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={"keyword": keyword, "startDate": start_date},
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.6.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(keyword="AI,穿搭", start_date="2026-08-01")
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.6.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",