justoneapi 3.0.121__tar.gz → 3.0.122__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 (72) hide show
  1. {justoneapi-3.0.121/justoneapi.egg-info → justoneapi-3.0.122}/PKG-INFO +3 -1
  2. {justoneapi-3.0.121 → justoneapi-3.0.122}/README.md +2 -0
  3. justoneapi-3.0.122/justoneapi/_version.py +1 -0
  4. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/amazon.py +2 -2
  5. justoneapi-3.0.122/justoneapi/generated/resources/douyin_index.py +87 -0
  6. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/zhihu.py +13 -0
  7. {justoneapi-3.0.121 → justoneapi-3.0.122/justoneapi.egg-info}/PKG-INFO +3 -1
  8. justoneapi-3.0.121/justoneapi/_version.py +0 -1
  9. justoneapi-3.0.121/justoneapi/generated/resources/douyin_index.py +0 -52
  10. {justoneapi-3.0.121 → justoneapi-3.0.122}/LICENSE +0 -0
  11. {justoneapi-3.0.121 → justoneapi-3.0.122}/MANIFEST.in +0 -0
  12. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/__init__.py +0 -0
  13. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/_exceptions.py +0 -0
  14. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/_resource.py +0 -0
  15. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/_response.py +0 -0
  16. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/_transport.py +0 -0
  17. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/client.py +0 -0
  18. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/config.py +0 -0
  19. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/__init__.py +0 -0
  20. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/models.py +0 -0
  21. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/__init__.py +0 -0
  22. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/aliexpress.py +0 -0
  23. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/beike.py +0 -0
  24. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/bilibili.py +0 -0
  25. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/dewu.py +0 -0
  26. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/douban.py +0 -0
  27. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/douyin.py +0 -0
  28. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/douyin_ec.py +0 -0
  29. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/douyin_xingtu.py +0 -0
  30. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/facebook.py +0 -0
  31. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/field_1688.py +0 -0
  32. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/imdb.py +0 -0
  33. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/instagram.py +0 -0
  34. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/jd.py +0 -0
  35. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/kuaishou.py +0 -0
  36. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/linkedin.py +0 -0
  37. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/llm.py +0 -0
  38. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/qq_huxuan.py +0 -0
  39. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/reddit.py +0 -0
  40. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/search.py +0 -0
  41. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/shopee.py +0 -0
  42. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/taobao.py +0 -0
  43. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/temu.py +0 -0
  44. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/tiktok.py +0 -0
  45. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/tiktok_shop.py +0 -0
  46. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/toutiao.py +0 -0
  47. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/twitter.py +0 -0
  48. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/vipshop.py +0 -0
  49. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/weibo.py +0 -0
  50. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/weixin.py +0 -0
  51. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/weixin_channels.py +0 -0
  52. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/xianyu.py +0 -0
  53. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/xiaohongshu.py +0 -0
  54. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/xiaohongshu_ec.py +0 -0
  55. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -0
  56. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/youku.py +0 -0
  57. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/youtube.py +0 -0
  58. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/generated/resources/zcool.py +0 -0
  59. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi/log.py +0 -0
  60. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi.egg-info/SOURCES.txt +0 -0
  61. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi.egg-info/dependency_links.txt +0 -0
  62. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi.egg-info/requires.txt +0 -0
  63. {justoneapi-3.0.121 → justoneapi-3.0.122}/justoneapi.egg-info/top_level.txt +0 -0
  64. {justoneapi-3.0.121 → justoneapi-3.0.122}/pyproject.toml +0 -0
  65. {justoneapi-3.0.121 → justoneapi-3.0.122}/setup.cfg +0 -0
  66. {justoneapi-3.0.121 → justoneapi-3.0.122}/setup.py +0 -0
  67. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_bump_version.py +0 -0
  68. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_codegen.py +0 -0
  69. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_generated_surface.py +0 -0
  70. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_integration_smoke.py +0 -0
  71. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_pypi_readme.py +0 -0
  72. {justoneapi-3.0.121 → justoneapi-3.0.122}/tests/test_runtime.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: justoneapi
3
- Version: 3.0.121
3
+ Version: 3.0.122
4
4
  Summary: OpenAPI-driven Python SDK for JustOneAPI
5
5
  Author-email: JustOneAPI <support@justoneapi.com>
6
6
  Requires-Python: >=3.10
@@ -278,6 +278,7 @@ except BusinessError as exc:
278
278
 
279
279
  - [关键词趋势 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/keyword-trends-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-keyword-trends/v1 -->
280
280
  - [实时热点 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/realtime-hotspots-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-realtime-hotspots/v1 -->
281
+ - [创建指南 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/creation-guide-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-creation-guide/v1 -->
281
282
 
282
283
  ### 抖音巨量星图
283
284
 
@@ -590,6 +591,7 @@ except BusinessError as exc:
590
591
 
591
592
  ### 知乎
592
593
 
594
+ - [热门榜单 (V1)](https://docs.justoneapi.com/zh/api/zhihu/hot-list-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/hot-list/v1 -->
593
595
  - [专栏文章详情 (V1)](https://docs.justoneapi.com/zh/api/zhihu/column-article-details-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-column-article-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetColumnArticleDetailV1.json)</sub>
594
596
  - [回答列表 (V1)](https://docs.justoneapi.com/zh/api/zhihu/answer-list-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-answer-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetAnswerListV1.json)</sub>
595
597
  - [关键词搜索 (V1)](https://docs.justoneapi.com/zh/api/zhihu/keyword-search-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuSearchV1.json)</sub>
@@ -260,6 +260,7 @@ except BusinessError as exc:
260
260
 
261
261
  - [关键词趋势 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/keyword-trends-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-keyword-trends/v1 -->
262
262
  - [实时热点 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/realtime-hotspots-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-realtime-hotspots/v1 -->
263
+ - [创建指南 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/creation-guide-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-creation-guide/v1 -->
263
264
 
264
265
  ### 抖音巨量星图
265
266
 
@@ -572,6 +573,7 @@ except BusinessError as exc:
572
573
 
573
574
  ### 知乎
574
575
 
576
+ - [热门榜单 (V1)](https://docs.justoneapi.com/zh/api/zhihu/hot-list-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/hot-list/v1 -->
575
577
  - [专栏文章详情 (V1)](https://docs.justoneapi.com/zh/api/zhihu/column-article-details-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-column-article-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetColumnArticleDetailV1.json)</sub>
576
578
  - [回答列表 (V1)](https://docs.justoneapi.com/zh/api/zhihu/answer-list-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-answer-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetAnswerListV1.json)</sub>
577
579
  - [关键词搜索 (V1)](https://docs.justoneapi.com/zh/api/zhihu/keyword-search-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuSearchV1.json)</sub>
@@ -0,0 +1 @@
1
+ __version__ = "3.0.122"
@@ -59,7 +59,7 @@ class AmazonResource(BaseResource):
59
59
  Retrieves details for an Amazon product identified by ASIN in a selected country marketplace. Use it to look up a known listing for catalog review, product comparison, or downstream commerce analysis.
60
60
 
61
61
  Args:
62
- asin: ASIN (Amazon Standard Identification Number).
62
+ asin: 10-character alphanumeric Amazon Standard Identification Number (ASIN).
63
63
  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
64
64
  """
65
65
  return self._get(
@@ -82,7 +82,7 @@ class AmazonResource(BaseResource):
82
82
  Retrieves the top reviews for an Amazon product identified by ASIN in a selected country marketplace. Use it to review prominent customer feedback for product research, sentiment analysis, or quality assessment.
83
83
 
84
84
  Args:
85
- asin: ASIN (Amazon Standard Identification Number).
85
+ asin: 10-character alphanumeric Amazon Standard Identification Number (ASIN).
86
86
  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
87
87
  """
88
88
  return self._get(
@@ -0,0 +1,87 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ from justoneapi._resource import BaseResource
6
+ from justoneapi._response import ApiResponse
7
+
8
+
9
+ class DouyinIndexResource(BaseResource):
10
+ """Generated resource for Douyin Index."""
11
+
12
+ def get_keyword_trends_v1(
13
+ self,
14
+ *,
15
+ since: str,
16
+ until: str,
17
+ keyword: str | None = None,
18
+ keywords: list[Any] | None = None,
19
+ ) -> ApiResponse[Any]:
20
+ """
21
+ Keyword Trends
22
+
23
+ Retrieves Douyin Index (Ocean Engine trend index) keyword trends for one keyword or up to five keywords over an inclusive date range in China time (UTC+8). Use it for topic research and comparing keyword interest over time.
24
+
25
+ Args:
26
+ since: First day to include. Use YYYY-MM-DD or an RFC 3339 timestamp with a timezone; timestamps are interpreted as calendar days in China time (UTC+8).
27
+ until: Last day to include, in the same format as since, on or after since in China time (UTC+8). Figures are usually published one or two days later.
28
+ keyword: One keyword, at most 50 characters without commas. Provide exactly one of keyword or keywords; letter case does not matter.
29
+ keywords: One to five keywords, separated by commas or supplied as repeated query parameters. Each keyword must contain at most 50 characters without commas. Provide exactly one of keyword or keywords; letter case does not matter.
30
+ """
31
+ return self._get(
32
+ "/api/douyin-index/get-keyword-trends/v1",
33
+ {
34
+ "since": since,
35
+ "until": until,
36
+ "keyword": keyword,
37
+ "keywords": keywords,
38
+ },
39
+ )
40
+
41
+ def get_realtime_hotspots_v1(
42
+ self,
43
+ ) -> ApiResponse[Any]:
44
+ """
45
+ Realtime Hotspots
46
+
47
+ Retrieves the current hotspot lists from Douyin Index in Creator Center. Use it to monitor trending topics and plan timely content.
48
+ """
49
+ return self._get(
50
+ "/api/douyin-index/get-realtime-hotspots/v1",
51
+ {},
52
+ )
53
+
54
+ def get_creation_guide_v1(
55
+ self,
56
+ *,
57
+ analysis_type: str,
58
+ data_type: str,
59
+ vertical: str | None = None,
60
+ period: str | None = None,
61
+ start_date: str | None = None,
62
+ end_date: str | None = None,
63
+ ) -> ApiResponse[Any]:
64
+ """
65
+ Creation Guide
66
+
67
+ Retrieves a selected ranking, production report, consumption report, or publication calendar from the Douyin Creator Center Creation Guide. Use content verticals and published reporting dates to research popular keywords, topics, videos, and audience trends.
68
+
69
+ Args:
70
+ analysis_type: Creation Guide analysis tab. Available Values: - `CREATIVITY`: Creative insights and rankings - `PRODUCTION`: Content production analysis - `CONSUMPTION`: Content consumption analysis
71
+ data_type: One data set within the selected tab. Choose KEYWORDS, TOPICS, or VIDEOS for creative insight rankings. Available Values: - `CONTENT_DATES`: Publication calendar for keyword and topic rankings and for production and consumption reports - `VIDEO_DATES`: Publication calendar for popular video rankings. Use with CREATIVITY - `KEYWORDS`: Popular keywords. Use with CREATIVITY - `TOPICS`: Popular topics. Use with CREATIVITY - `VIDEOS`: Popular videos. Use with CREATIVITY - `PUBLISH_TREND`: Content publishing trend. Use with PRODUCTION - `AUTHOR_PORTRAIT`: Creator profile distribution. Use with PRODUCTION - `VIDEO_DURATION`: Content share, engagement, and completion by video duration. Use with PRODUCTION or CONSUMPTION - `CONSUME_TREND`: Content supply and consumption trends. Use with CONSUMPTION - `INTERACT_TREND`: Content engagement trend. Use with CONSUMPTION - `CONSUMER_PORTRAIT`: Audience distributions for viewing and engagement. Use with CONSUMPTION
72
+ vertical: Content vertical. Required for rankings and reports. Omit for publication calendars. Available Values: - `DRAMA`: Scripted stories and drama - `CELEBRITIES`: Celebrities - `MUSIC`: Music - `ANIME_COMICS`: Anime, comics, and related fan culture - `GAMING`: Gaming - `CURRENT_AFFAIRS`: Society and current affairs - `DANCE`: Dance - `RURAL_LIFE`: Agriculture, rural areas, and rural life - `TECHNOLOGY`: Science and technology - `FINANCE`: Business and finance - `PARENTING`: Maternity and parenting - `LIFESTYLE_HOME`: Lifestyle and home - `HEALTH`: Medicine and health - `RELATIONSHIPS`: Relationships and emotional well-being - `CULTURE`: Culture - `CAREERS`: Careers and the workplace - `EDUCATION`: Education and campus life - `PHOTOGRAPHY`: Photography and videography - `FOOD`: Food and cooking - `TRAVEL`: Travel - `FASHION`: Fashion - `SPORTS`: Sports - `ENTERTAINMENT`: Leisure and entertainment - `AUTOMOTIVE`: Cars and the automotive industry
73
+ period: ONE_DAY, THREE_DAYS, or WEEK for rankings. WEEK or MONTH for profile and video duration reports. Omit for trend reports and publication calendars. Available Values: - `ONE_DAY`: One published day. Rankings only - `THREE_DAYS`: Three days ending on the specified published day. Rankings only - `WEEK`: A reporting week ending on Sunday - `MONTH`: A calendar month. Profile and video duration reports only
74
+ start_date: Inclusive first day in China time (UTC+8), in YYYY-MM-DD format. Required for publishing, supply and consumption, and engagement trends. Omit for other data types.
75
+ end_date: Inclusive last day in China time (UTC+8), in YYYY-MM-DD format. Required for rankings and reports. Use a published Sunday for WEEK or a published month end for MONTH. Omit for publication calendars.
76
+ """
77
+ return self._get(
78
+ "/api/douyin-index/get-creation-guide/v1",
79
+ {
80
+ "analysisType": analysis_type,
81
+ "dataType": data_type,
82
+ "vertical": vertical,
83
+ "period": period,
84
+ "startDate": start_date,
85
+ "endDate": end_date,
86
+ },
87
+ )
@@ -9,6 +9,19 @@ from justoneapi._response import ApiResponse
9
9
  class ZhihuResource(BaseResource):
10
10
  """Generated resource for Zhihu."""
11
11
 
12
+ def hot_list_v1(
13
+ self,
14
+ ) -> ApiResponse[Any]:
15
+ """
16
+ Hot List
17
+
18
+ Retrieves the current question ranking displayed on the Zhihu Hot List. Each entry includes its position, question title, popularity text when available, and a link to the original question.
19
+ """
20
+ return self._get(
21
+ "/api/zhihu/hot-list/v1",
22
+ {},
23
+ )
24
+
12
25
  def get_column_article_detail_v1(
13
26
  self,
14
27
  *,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: justoneapi
3
- Version: 3.0.121
3
+ Version: 3.0.122
4
4
  Summary: OpenAPI-driven Python SDK for JustOneAPI
5
5
  Author-email: JustOneAPI <support@justoneapi.com>
6
6
  Requires-Python: >=3.10
@@ -278,6 +278,7 @@ except BusinessError as exc:
278
278
 
279
279
  - [关键词趋势 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/keyword-trends-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-keyword-trends/v1 -->
280
280
  - [实时热点 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/realtime-hotspots-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-realtime-hotspots/v1 -->
281
+ - [创建指南 (V1)](https://docs.justoneapi.com/zh/api/douyin-index/creation-guide-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/douyin-index/get-creation-guide/v1 -->
281
282
 
282
283
  ### 抖音巨量星图
283
284
 
@@ -590,6 +591,7 @@ except BusinessError as exc:
590
591
 
591
592
  ### 知乎
592
593
 
594
+ - [热门榜单 (V1)](https://docs.justoneapi.com/zh/api/zhihu/hot-list-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/hot-list/v1 -->
593
595
  - [专栏文章详情 (V1)](https://docs.justoneapi.com/zh/api/zhihu/column-article-details-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-column-article-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetColumnArticleDetailV1.json)</sub>
594
596
  - [回答列表 (V1)](https://docs.justoneapi.com/zh/api/zhihu/answer-list-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/get-answer-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuGetAnswerListV1.json)</sub>
595
597
  - [关键词搜索 (V1)](https://docs.justoneapi.com/zh/api/zhihu/keyword-search-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/zhihu/search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiZhihuSearchV1.json)</sub>
@@ -1 +0,0 @@
1
- __version__ = "3.0.121"
@@ -1,52 +0,0 @@
1
- from __future__ import annotations
2
-
3
- from typing import Any
4
-
5
- from justoneapi._resource import BaseResource
6
- from justoneapi._response import ApiResponse
7
-
8
-
9
- class DouyinIndexResource(BaseResource):
10
- """Generated resource for Douyin Index."""
11
-
12
- def get_keyword_trends_v1(
13
- self,
14
- *,
15
- since: str,
16
- until: str,
17
- keyword: str | None = None,
18
- keywords: list[Any] | None = None,
19
- ) -> ApiResponse[Any]:
20
- """
21
- Keyword Trends
22
-
23
- Retrieves Douyin Index (Ocean Engine trend index) keyword trends for one keyword or up to five keywords over an inclusive date range in China time (UTC+8). Use it for topic research and comparing keyword interest over time.
24
-
25
- Args:
26
- since: First day to include. Use YYYY-MM-DD or an RFC 3339 timestamp with a timezone; timestamps are interpreted as calendar days in China time (UTC+8).
27
- until: Last day to include, in the same format as since, on or after since in China time (UTC+8). Figures are usually published one or two days later.
28
- keyword: One keyword, at most 50 characters without commas. Provide exactly one of keyword or keywords; letter case does not matter.
29
- keywords: One to five keywords, separated by commas or supplied as repeated query parameters. Each keyword must contain at most 50 characters without commas. Provide exactly one of keyword or keywords; letter case does not matter.
30
- """
31
- return self._get(
32
- "/api/douyin-index/get-keyword-trends/v1",
33
- {
34
- "since": since,
35
- "until": until,
36
- "keyword": keyword,
37
- "keywords": keywords,
38
- },
39
- )
40
-
41
- def get_realtime_hotspots_v1(
42
- self,
43
- ) -> ApiResponse[Any]:
44
- """
45
- Realtime Hotspots
46
-
47
- Retrieves the current hotspot lists from Douyin Index in Creator Center. Use it to monitor trending topics and plan timely content.
48
- """
49
- return self._get(
50
- "/api/douyin-index/get-realtime-hotspots/v1",
51
- {},
52
- )
File without changes
File without changes
File without changes
File without changes