justoneapi 3.0.115__tar.gz → 3.0.117__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.115/justoneapi.egg-info → justoneapi-3.0.117}/PKG-INFO +11 -1
- {justoneapi-3.0.115 → justoneapi-3.0.117}/README.md +10 -0
- justoneapi-3.0.117/justoneapi/_version.py +1 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/__init__.py +3 -0
- justoneapi-3.0.117/justoneapi/generated/resources/douyin_index.py +52 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/qq_huxuan.py +40 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/vipshop.py +4 -4
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/weibo.py +23 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117/justoneapi.egg-info}/PKG-INFO +11 -1
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi.egg-info/SOURCES.txt +1 -0
- justoneapi-3.0.115/justoneapi/_version.py +0 -1
- {justoneapi-3.0.115 → justoneapi-3.0.117}/LICENSE +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/MANIFEST.in +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/__init__.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/_exceptions.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/_resource.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/_response.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/_transport.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/client.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/config.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/__init__.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/models.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/aliexpress.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/amazon.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/beike.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/bilibili.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/dewu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/douban.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/douyin.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/douyin_ec.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/douyin_xingtu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/facebook.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/field_1688.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/imdb.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/instagram.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/jd.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/kuaishou.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/linkedin.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/llm.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/reddit.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/search.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/shopee.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/taobao.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/temu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/tiktok.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/tiktok_shop.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/toutiao.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/twitter.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/weixin.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/weixin_channels.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/xianyu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/xiaohongshu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/xiaohongshu_ec.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/youku.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/youtube.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/zcool.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/generated/resources/zhihu.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi/log.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi.egg-info/dependency_links.txt +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi.egg-info/requires.txt +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/justoneapi.egg-info/top_level.txt +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/pyproject.toml +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/setup.cfg +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/setup.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_bump_version.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_codegen.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_generated_surface.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_integration_smoke.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_pypi_readme.py +0 -0
- {justoneapi-3.0.115 → justoneapi-3.0.117}/tests/test_runtime.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: justoneapi
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.117
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for JustOneAPI
|
|
5
5
|
Author-email: JustOneAPI <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -273,6 +273,11 @@ except BusinessError as exc:
|
|
|
273
273
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/item-comments-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-ec/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetItemCommentsV1.json)</sub>
|
|
274
274
|
- [店铺商品列表 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/shop-product-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/douyin-ec/get-shop-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetShopItemListV1.json)</sub>
|
|
275
275
|
|
|
276
|
+
### 抖音指数
|
|
277
|
+
|
|
278
|
+
- [关键词趋势 (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 -->
|
|
279
|
+
- [实时热点 (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 -->
|
|
280
|
+
|
|
276
281
|
### 抖音巨量星图
|
|
277
282
|
|
|
278
283
|
- [创作者搜索 (V1)](https://docs.justoneapi.com/zh/api/douyin-creator-marketplace-xingtu/creator-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/douyin-xingtu/gw/api/gsearch/search_for_author_square/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinXingtuGwApiGsearchSearchForAuthorSquareV1.json)</sub>
|
|
@@ -407,6 +412,7 @@ except BusinessError as exc:
|
|
|
407
412
|
- [电视视频详情 (V1)](https://docs.justoneapi.com/zh/api/weibo/tv-video-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/weibo/tv-component/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboTvComponentV1.json)</sub>
|
|
408
413
|
- [热搜 (V1)](https://docs.justoneapi.com/zh/api/weibo/hot-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/weibo/hot-search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboHotSearchV1.json)</sub>
|
|
409
414
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/weibo/post-comments-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboGetPostCommentsV1.json)</sub>
|
|
415
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/weibo/comment-replies-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-comment-replies/v1 -->
|
|
410
416
|
- [搜索用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/weibo/search-user-published-posts-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/search-profile/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboSearchProfileV1.json)</sub>
|
|
411
417
|
|
|
412
418
|
### 哔哩哔哩
|
|
@@ -667,6 +673,10 @@ except BusinessError as exc:
|
|
|
667
673
|
|
|
668
674
|
- [图片搜索 (V1)](https://docs.justoneapi.com/zh/api/zcool/image-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/zcool/search-image/v1 -->
|
|
669
675
|
|
|
676
|
+
### 唯品会
|
|
677
|
+
|
|
678
|
+
- [商品详情 (V1)](https://docs.justoneapi.com/zh/api/vipshop/product-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/vipshop/get-item-detail/v1 -->
|
|
679
|
+
|
|
670
680
|
<!-- API_LIST_END -->
|
|
671
681
|
|
|
672
682
|
## 许可证
|
|
@@ -255,6 +255,11 @@ except BusinessError as exc:
|
|
|
255
255
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/item-comments-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-ec/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetItemCommentsV1.json)</sub>
|
|
256
256
|
- [店铺商品列表 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/shop-product-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/douyin-ec/get-shop-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetShopItemListV1.json)</sub>
|
|
257
257
|
|
|
258
|
+
### 抖音指数
|
|
259
|
+
|
|
260
|
+
- [关键词趋势 (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 -->
|
|
261
|
+
- [实时热点 (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 -->
|
|
262
|
+
|
|
258
263
|
### 抖音巨量星图
|
|
259
264
|
|
|
260
265
|
- [创作者搜索 (V1)](https://docs.justoneapi.com/zh/api/douyin-creator-marketplace-xingtu/creator-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/douyin-xingtu/gw/api/gsearch/search_for_author_square/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinXingtuGwApiGsearchSearchForAuthorSquareV1.json)</sub>
|
|
@@ -389,6 +394,7 @@ except BusinessError as exc:
|
|
|
389
394
|
- [电视视频详情 (V1)](https://docs.justoneapi.com/zh/api/weibo/tv-video-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/weibo/tv-component/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboTvComponentV1.json)</sub>
|
|
390
395
|
- [热搜 (V1)](https://docs.justoneapi.com/zh/api/weibo/hot-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/weibo/hot-search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboHotSearchV1.json)</sub>
|
|
391
396
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/weibo/post-comments-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboGetPostCommentsV1.json)</sub>
|
|
397
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/weibo/comment-replies-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-comment-replies/v1 -->
|
|
392
398
|
- [搜索用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/weibo/search-user-published-posts-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/search-profile/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboSearchProfileV1.json)</sub>
|
|
393
399
|
|
|
394
400
|
### 哔哩哔哩
|
|
@@ -649,6 +655,10 @@ except BusinessError as exc:
|
|
|
649
655
|
|
|
650
656
|
- [图片搜索 (V1)](https://docs.justoneapi.com/zh/api/zcool/image-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/zcool/search-image/v1 -->
|
|
651
657
|
|
|
658
|
+
### 唯品会
|
|
659
|
+
|
|
660
|
+
- [商品详情 (V1)](https://docs.justoneapi.com/zh/api/vipshop/product-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/vipshop/get-item-detail/v1 -->
|
|
661
|
+
|
|
652
662
|
<!-- API_LIST_END -->
|
|
653
663
|
|
|
654
664
|
## 许可证
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.117"
|
|
@@ -8,6 +8,7 @@ from justoneapi.generated.resources.dewu import DewuResource
|
|
|
8
8
|
from justoneapi.generated.resources.douban import DoubanResource
|
|
9
9
|
from justoneapi.generated.resources.douyin import DouyinResource
|
|
10
10
|
from justoneapi.generated.resources.douyin_ec import DouyinEcResource
|
|
11
|
+
from justoneapi.generated.resources.douyin_index import DouyinIndexResource
|
|
11
12
|
from justoneapi.generated.resources.douyin_xingtu import DouyinXingtuResource
|
|
12
13
|
from justoneapi.generated.resources.facebook import FacebookResource
|
|
13
14
|
from justoneapi.generated.resources.field_1688 import Field1688Resource
|
|
@@ -49,6 +50,7 @@ RESOURCE_CLASSES = {
|
|
|
49
50
|
"douban": DoubanResource,
|
|
50
51
|
"douyin": DouyinResource,
|
|
51
52
|
"douyin_ec": DouyinEcResource,
|
|
53
|
+
"douyin_index": DouyinIndexResource,
|
|
52
54
|
"douyin_xingtu": DouyinXingtuResource,
|
|
53
55
|
"facebook": FacebookResource,
|
|
54
56
|
"field_1688": Field1688Resource,
|
|
@@ -91,6 +93,7 @@ __all__ = [
|
|
|
91
93
|
"DoubanResource",
|
|
92
94
|
"DouyinResource",
|
|
93
95
|
"DouyinEcResource",
|
|
96
|
+
"DouyinIndexResource",
|
|
94
97
|
"DouyinXingtuResource",
|
|
95
98
|
"FacebookResource",
|
|
96
99
|
"Field1688Resource",
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
)
|
|
@@ -116,6 +116,26 @@ class QqHuxuanResource(BaseResource):
|
|
|
116
116
|
},
|
|
117
117
|
)
|
|
118
118
|
|
|
119
|
+
def get_video_detail_v1(
|
|
120
|
+
self,
|
|
121
|
+
*,
|
|
122
|
+
export_id: str,
|
|
123
|
+
) -> ApiResponse[Any]:
|
|
124
|
+
"""
|
|
125
|
+
Video Account Video Details
|
|
126
|
+
|
|
127
|
+
Retrieves performance metrics for a single QQ Huxuan Video Account video by its export ID. Use it to measure a known video's performance.
|
|
128
|
+
|
|
129
|
+
Args:
|
|
130
|
+
export_id: Video export ID from QQ Huxuan Video Account Recent Videos. Include the export/ prefix.
|
|
131
|
+
"""
|
|
132
|
+
return self._get(
|
|
133
|
+
"/api/qq-huxuan/get-video-detail/v1",
|
|
134
|
+
{
|
|
135
|
+
"exportId": export_id,
|
|
136
|
+
},
|
|
137
|
+
)
|
|
138
|
+
|
|
119
139
|
def cgi_bin_advertiser_mp_publisher_detail_v1(
|
|
120
140
|
self,
|
|
121
141
|
*,
|
|
@@ -171,6 +191,26 @@ class QqHuxuanResource(BaseResource):
|
|
|
171
191
|
},
|
|
172
192
|
)
|
|
173
193
|
|
|
194
|
+
def get_article_detail_v1(
|
|
195
|
+
self,
|
|
196
|
+
*,
|
|
197
|
+
article_id: str,
|
|
198
|
+
) -> ApiResponse[Any]:
|
|
199
|
+
"""
|
|
200
|
+
Official Account Article Details
|
|
201
|
+
|
|
202
|
+
Retrieves a single QQ Huxuan Official Account article by its article ID. Use it to review a known article from the publisher's article list.
|
|
203
|
+
|
|
204
|
+
Args:
|
|
205
|
+
article_id: Article ID from QQ Huxuan Official Account Article List, in appId_msgId_index format.
|
|
206
|
+
"""
|
|
207
|
+
return self._get(
|
|
208
|
+
"/api/qq-huxuan/get-article-detail/v1",
|
|
209
|
+
{
|
|
210
|
+
"articleId": article_id,
|
|
211
|
+
},
|
|
212
|
+
)
|
|
213
|
+
|
|
174
214
|
def cgi_bin_advertiser_finder_publisher_get_rank_finder_content_v1(
|
|
175
215
|
self,
|
|
176
216
|
*,
|
|
@@ -12,19 +12,19 @@ class VipshopResource(BaseResource):
|
|
|
12
12
|
def get_item_detail_v1(
|
|
13
13
|
self,
|
|
14
14
|
*,
|
|
15
|
-
|
|
15
|
+
product_id: str,
|
|
16
16
|
) -> ApiResponse[Any]:
|
|
17
17
|
"""
|
|
18
18
|
Product Details
|
|
19
19
|
|
|
20
|
-
Retrieves Vipshop product details
|
|
20
|
+
Retrieves Vipshop product details using one product ID per request. Use it for product research and catalog monitoring.
|
|
21
21
|
|
|
22
22
|
Args:
|
|
23
|
-
|
|
23
|
+
product_id: Product ID.
|
|
24
24
|
"""
|
|
25
25
|
return self._get(
|
|
26
26
|
"/api/vipshop/get-item-detail/v1",
|
|
27
27
|
{
|
|
28
|
-
"
|
|
28
|
+
"productId": product_id,
|
|
29
29
|
},
|
|
30
30
|
)
|
|
@@ -244,6 +244,29 @@ class WeiboResource(BaseResource):
|
|
|
244
244
|
},
|
|
245
245
|
)
|
|
246
246
|
|
|
247
|
+
def get_comment_replies_v1(
|
|
248
|
+
self,
|
|
249
|
+
*,
|
|
250
|
+
comment_id: str,
|
|
251
|
+
max_id: str | None = None,
|
|
252
|
+
) -> ApiResponse[Any]:
|
|
253
|
+
"""
|
|
254
|
+
Comment Replies
|
|
255
|
+
|
|
256
|
+
Retrieves replies under a Weibo top-level comment identified by commentId, with optional maxId cursor pagination. Use it to follow a comment thread for discussion research or feedback analysis.
|
|
257
|
+
|
|
258
|
+
Args:
|
|
259
|
+
comment_id: Numeric ID of a top-level comment, obtained from the post comments list. Pass the comment ID rather than the post MID.
|
|
260
|
+
max_id: Numeric pagination cursor returned by the previous reply page. Omit or pass 0 for the first page.
|
|
261
|
+
"""
|
|
262
|
+
return self._get(
|
|
263
|
+
"/api/weibo/get-comment-replies/v1",
|
|
264
|
+
{
|
|
265
|
+
"commentId": comment_id,
|
|
266
|
+
"maxId": max_id,
|
|
267
|
+
},
|
|
268
|
+
)
|
|
269
|
+
|
|
247
270
|
def search_profile_v1(
|
|
248
271
|
self,
|
|
249
272
|
*,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: justoneapi
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.117
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for JustOneAPI
|
|
5
5
|
Author-email: JustOneAPI <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -273,6 +273,11 @@ except BusinessError as exc:
|
|
|
273
273
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/item-comments-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-ec/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetItemCommentsV1.json)</sub>
|
|
274
274
|
- [店铺商品列表 (V1)](https://docs.justoneapi.com/zh/api/douyin-e-commerce/shop-product-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/douyin-ec/get-shop-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinEcGetShopItemListV1.json)</sub>
|
|
275
275
|
|
|
276
|
+
### 抖音指数
|
|
277
|
+
|
|
278
|
+
- [关键词趋势 (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 -->
|
|
279
|
+
- [实时热点 (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 -->
|
|
280
|
+
|
|
276
281
|
### 抖音巨量星图
|
|
277
282
|
|
|
278
283
|
- [创作者搜索 (V1)](https://docs.justoneapi.com/zh/api/douyin-creator-marketplace-xingtu/creator-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/douyin-xingtu/gw/api/gsearch/search_for_author_square/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiDouyinXingtuGwApiGsearchSearchForAuthorSquareV1.json)</sub>
|
|
@@ -407,6 +412,7 @@ except BusinessError as exc:
|
|
|
407
412
|
- [电视视频详情 (V1)](https://docs.justoneapi.com/zh/api/weibo/tv-video-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/weibo/tv-component/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboTvComponentV1.json)</sub>
|
|
408
413
|
- [热搜 (V1)](https://docs.justoneapi.com/zh/api/weibo/hot-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/weibo/hot-search/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboHotSearchV1.json)</sub>
|
|
409
414
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/weibo/post-comments-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboGetPostCommentsV1.json)</sub>
|
|
415
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/weibo/comment-replies-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/get-comment-replies/v1 -->
|
|
410
416
|
- [搜索用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/weibo/search-user-published-posts-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/weibo/search-profile/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiWeiboSearchProfileV1.json)</sub>
|
|
411
417
|
|
|
412
418
|
### 哔哩哔哩
|
|
@@ -667,6 +673,10 @@ except BusinessError as exc:
|
|
|
667
673
|
|
|
668
674
|
- [图片搜索 (V1)](https://docs.justoneapi.com/zh/api/zcool/image-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/zcool/search-image/v1 -->
|
|
669
675
|
|
|
676
|
+
### 唯品会
|
|
677
|
+
|
|
678
|
+
- [商品详情 (V1)](https://docs.justoneapi.com/zh/api/vipshop/product-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/vipshop/get-item-detail/v1 -->
|
|
679
|
+
|
|
670
680
|
<!-- API_LIST_END -->
|
|
671
681
|
|
|
672
682
|
## 许可证
|
|
@@ -28,6 +28,7 @@ justoneapi/generated/resources/dewu.py
|
|
|
28
28
|
justoneapi/generated/resources/douban.py
|
|
29
29
|
justoneapi/generated/resources/douyin.py
|
|
30
30
|
justoneapi/generated/resources/douyin_ec.py
|
|
31
|
+
justoneapi/generated/resources/douyin_index.py
|
|
31
32
|
justoneapi/generated/resources/douyin_xingtu.py
|
|
32
33
|
justoneapi/generated/resources/facebook.py
|
|
33
34
|
justoneapi/generated/resources/field_1688.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.115"
|
|
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
|