justoneapi 3.0.134__tar.gz → 3.0.136__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.136}/PKG-INFO +6 -1
- {justoneapi-3.0.134 → justoneapi-3.0.136}/README.md +5 -0
- justoneapi-3.0.136/justoneapi/_version.py +1 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/bilibili.py +26 -0
- justoneapi-3.0.136/justoneapi/generated/resources/facebook.py +375 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/tiktok.py +32 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/twitter.py +20 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/xiaohongshu.py +32 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136/justoneapi.egg-info}/PKG-INFO +6 -1
- justoneapi-3.0.134/justoneapi/_version.py +0 -1
- justoneapi-3.0.134/justoneapi/generated/resources/facebook.py +0 -131
- {justoneapi-3.0.134 → justoneapi-3.0.136}/LICENSE +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/MANIFEST.in +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/_exceptions.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/_resource.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/_response.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/_transport.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/client.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/config.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/models.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/__init__.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/aliexpress.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/amazon.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/baidu_index.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/baidu_tieba.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/beike.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/dewu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douban.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douyin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douyin_ec.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douyin_index.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douyin_live.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/douyin_xingtu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/field_1688.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/imdb.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/instagram.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/jd.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/kuaishou.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/linkedin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/llm.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/qq_huxuan.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/reddit.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/search.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/shopee.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/taobao.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/temu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/tiktok_shop.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/toutiao.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/vipshop.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/weibo.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/weixin.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/weixin_channels.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/xianyu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/xiaohongshu_ec.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/youku.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/youtube.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/zcool.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/generated/resources/zhihu.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi/log.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi.egg-info/SOURCES.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi.egg-info/dependency_links.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi.egg-info/requires.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/justoneapi.egg-info/top_level.txt +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/pyproject.toml +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/setup.cfg +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/setup.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/tests/test_bump_version.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/tests/test_codegen.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/tests/test_generated_surface.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/tests/test_integration_smoke.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/tests/test_pypi_readme.py +0 -0
- {justoneapi-3.0.134 → justoneapi-3.0.136}/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.136
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for JustOneAPI
|
|
5
5
|
Author-email: JustOneAPI <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -192,6 +192,7 @@ except BusinessError as exc:
|
|
|
192
192
|
- [关键词笔记搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/keyword-note-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV2.json)</sub>
|
|
193
193
|
- [笔记搜索 (V3)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v3?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v3 -->
|
|
194
194
|
- [笔记搜索 (V4)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v4?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v4 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV4.json)</sub>
|
|
195
|
+
- [笔记搜索 (V6)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v6?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v6 -->
|
|
195
196
|
- [用户搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-user/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchUserV2.json)</sub>
|
|
196
197
|
- [用户发布笔记 (V1)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v1 -->
|
|
197
198
|
- [用户发布笔记 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v2 -->
|
|
@@ -455,6 +456,7 @@ except BusinessError as exc:
|
|
|
455
456
|
- [用户资料 (V2)](https://docs.justoneapi.com/zh/api/bilibili/user-profile-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-user-detail/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetUserDetailV2.json)</sub>
|
|
456
457
|
- [视频弹幕 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-danmaku-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-danmu/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoDanmuV2.json)</sub>
|
|
457
458
|
- [视频评论 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-comments-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-comment/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoCommentV2.json)</sub>
|
|
459
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/bilibili/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/bilibili/get-video-sub-comment/v1 -->
|
|
458
460
|
- [视频搜索 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/search-video/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliSearchVideoV2.json)</sub>
|
|
459
461
|
- [视频排行 (V1)](https://docs.justoneapi.com/zh/api/bilibili/video-ranking-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/hot-list/v1 -->
|
|
460
462
|
- [热门视频信息流 (V1)](https://docs.justoneapi.com/zh/api/bilibili/popular-video-feed-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/popular-feed/v1 -->
|
|
@@ -568,6 +570,7 @@ except BusinessError as exc:
|
|
|
568
570
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/tiktok/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/tiktok/get-post-sub-comment/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokGetPostSubCommentV1.json)</sub>
|
|
569
571
|
- [用户搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/tiktok/user-search-v1-deprecated?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list#deprecated) <!-- api-operation:GET /api/tiktok/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchUserV1.json)</sub>
|
|
570
572
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/tiktok/post-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/tiktok/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchPostV1.json)</sub>
|
|
573
|
+
- [热门话题标签 (V1)](https://docs.justoneapi.com/zh/api/tiktok/trending-hashtags-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/tiktok/get-trending-hashtags/v1 -->
|
|
571
574
|
|
|
572
575
|
### TikTok Shop
|
|
573
576
|
|
|
@@ -655,6 +658,7 @@ except BusinessError as exc:
|
|
|
655
658
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/facebook/post-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/facebook/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookSearchPostV1.json)</sub>
|
|
656
659
|
- [获取资料ID (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-id-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-id/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfileIdV1.json)</sub>
|
|
657
660
|
- [获取资料帖子 (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-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/facebook/get-profile-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfilePostsV1.json)</sub>
|
|
661
|
+
- [获取资料帖子 (V2)](https://docs.justoneapi.com/zh/api/facebook/get-profile-posts-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-posts/v2 -->
|
|
658
662
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetPostCommentsV1.json)</sub>
|
|
659
663
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-comment-replies/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetCommentRepliesV1.json)</sub>
|
|
660
664
|
|
|
@@ -665,6 +669,7 @@ except BusinessError as exc:
|
|
|
665
669
|
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetUserPostsV1.json)</sub>
|
|
666
670
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetPostCommentsV1.json)</sub>
|
|
667
671
|
- [帖子详情 (V1)](https://docs.justoneapi.com/zh/api/twitter/post-detail-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-post-detail/v1 -->
|
|
672
|
+
- [热门话题 (V1)](https://docs.justoneapi.com/zh/api/twitter/trending-topics-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-trends/v1 -->
|
|
668
673
|
|
|
669
674
|
### 领英
|
|
670
675
|
|
|
@@ -174,6 +174,7 @@ except BusinessError as exc:
|
|
|
174
174
|
- [关键词笔记搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/keyword-note-search-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV2.json)</sub>
|
|
175
175
|
- [笔记搜索 (V3)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v3?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v3 -->
|
|
176
176
|
- [笔记搜索 (V4)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v4?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v4 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV4.json)</sub>
|
|
177
|
+
- [笔记搜索 (V6)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v6?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v6 -->
|
|
177
178
|
- [用户搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-search-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-user/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchUserV2.json)</sub>
|
|
178
179
|
- [用户发布笔记 (V1)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v1 -->
|
|
179
180
|
- [用户发布笔记 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v2 -->
|
|
@@ -437,6 +438,7 @@ except BusinessError as exc:
|
|
|
437
438
|
- [用户资料 (V2)](https://docs.justoneapi.com/zh/api/bilibili/user-profile-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-user-detail/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetUserDetailV2.json)</sub>
|
|
438
439
|
- [视频弹幕 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-danmaku-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-danmu/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoDanmuV2.json)</sub>
|
|
439
440
|
- [视频评论 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-comments-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-comment/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoCommentV2.json)</sub>
|
|
441
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/bilibili/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/bilibili/get-video-sub-comment/v1 -->
|
|
440
442
|
- [视频搜索 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-search-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/search-video/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliSearchVideoV2.json)</sub>
|
|
441
443
|
- [视频排行 (V1)](https://docs.justoneapi.com/zh/api/bilibili/video-ranking-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/hot-list/v1 -->
|
|
442
444
|
- [热门视频信息流 (V1)](https://docs.justoneapi.com/zh/api/bilibili/popular-video-feed-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/popular-feed/v1 -->
|
|
@@ -550,6 +552,7 @@ except BusinessError as exc:
|
|
|
550
552
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/tiktok/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/tiktok/get-post-sub-comment/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokGetPostSubCommentV1.json)</sub>
|
|
551
553
|
- [用户搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/tiktok/user-search-v1-deprecated?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list#deprecated) <!-- api-operation:GET /api/tiktok/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchUserV1.json)</sub>
|
|
552
554
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/tiktok/post-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/tiktok/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchPostV1.json)</sub>
|
|
555
|
+
- [热门话题标签 (V1)](https://docs.justoneapi.com/zh/api/tiktok/trending-hashtags-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/tiktok/get-trending-hashtags/v1 -->
|
|
553
556
|
|
|
554
557
|
### TikTok Shop
|
|
555
558
|
|
|
@@ -637,6 +640,7 @@ except BusinessError as exc:
|
|
|
637
640
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/facebook/post-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/facebook/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookSearchPostV1.json)</sub>
|
|
638
641
|
- [获取资料ID (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-id-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-id/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfileIdV1.json)</sub>
|
|
639
642
|
- [获取资料帖子 (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-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/facebook/get-profile-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfilePostsV1.json)</sub>
|
|
643
|
+
- [获取资料帖子 (V2)](https://docs.justoneapi.com/zh/api/facebook/get-profile-posts-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-posts/v2 -->
|
|
640
644
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetPostCommentsV1.json)</sub>
|
|
641
645
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-comment-replies/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetCommentRepliesV1.json)</sub>
|
|
642
646
|
|
|
@@ -647,6 +651,7 @@ except BusinessError as exc:
|
|
|
647
651
|
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetUserPostsV1.json)</sub>
|
|
648
652
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetPostCommentsV1.json)</sub>
|
|
649
653
|
- [帖子详情 (V1)](https://docs.justoneapi.com/zh/api/twitter/post-detail-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-post-detail/v1 -->
|
|
654
|
+
- [热门话题 (V1)](https://docs.justoneapi.com/zh/api/twitter/trending-topics-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-trends/v1 -->
|
|
650
655
|
|
|
651
656
|
### 领英
|
|
652
657
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.136"
|
|
@@ -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
|
*,
|
|
@@ -0,0 +1,375 @@
|
|
|
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 FacebookResource(BaseResource):
|
|
10
|
+
"""Generated resource for Facebook."""
|
|
11
|
+
|
|
12
|
+
def search_post_v1(
|
|
13
|
+
self,
|
|
14
|
+
*,
|
|
15
|
+
keyword: str,
|
|
16
|
+
start_date: str | None = None,
|
|
17
|
+
end_date: str | None = None,
|
|
18
|
+
cursor: str | None = "",
|
|
19
|
+
) -> ApiResponse[Any]:
|
|
20
|
+
"""
|
|
21
|
+
Post Search
|
|
22
|
+
|
|
23
|
+
Searches public Facebook posts by keyword with optional inclusive date-range filters and cursor pagination. Use it to find topic-related posts or continue a time-bounded public-content search.
|
|
24
|
+
|
|
25
|
+
Args:
|
|
26
|
+
keyword: Keyword to search for in public posts. Supports basic text matching.
|
|
27
|
+
start_date: Start date for the search range (inclusive), formatted as yyyy-MM-dd.
|
|
28
|
+
end_date: End date for the search range (inclusive), formatted as yyyy-MM-dd.
|
|
29
|
+
cursor: Pagination cursor for fetching the next set of results.
|
|
30
|
+
"""
|
|
31
|
+
return self._get(
|
|
32
|
+
"/api/facebook/search-post/v1",
|
|
33
|
+
{
|
|
34
|
+
"keyword": keyword,
|
|
35
|
+
"startDate": start_date,
|
|
36
|
+
"endDate": end_date,
|
|
37
|
+
"cursor": cursor,
|
|
38
|
+
},
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
def get_post_detail_v1(
|
|
42
|
+
self,
|
|
43
|
+
*,
|
|
44
|
+
post_id: str,
|
|
45
|
+
) -> ApiResponse[Any]:
|
|
46
|
+
"""
|
|
47
|
+
Get Post Detail
|
|
48
|
+
|
|
49
|
+
Retrieves a public Facebook post by its encoded story ID. Use it to inspect the content and engagement of a known post.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
post_id: The encoded Facebook story ID, such as the id on a post node returned by a Facebook feed.
|
|
53
|
+
"""
|
|
54
|
+
return self._get(
|
|
55
|
+
"/api/facebook/get-post-detail/v1",
|
|
56
|
+
{
|
|
57
|
+
"postId": post_id,
|
|
58
|
+
},
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
def get_profile_id_v1(
|
|
62
|
+
self,
|
|
63
|
+
*,
|
|
64
|
+
url: str,
|
|
65
|
+
) -> ApiResponse[Any]:
|
|
66
|
+
"""
|
|
67
|
+
Get Profile ID
|
|
68
|
+
|
|
69
|
+
Resolves the Facebook profile ID associated with a submitted profile-path value. Use it to obtain the identifier required before retrieving posts for a known public profile.
|
|
70
|
+
|
|
71
|
+
Args:
|
|
72
|
+
url: The path portion of the Facebook profile URL, such as /<profile-path>. Do not include the scheme or host.
|
|
73
|
+
"""
|
|
74
|
+
return self._get(
|
|
75
|
+
"/api/facebook/get-profile-id/v1",
|
|
76
|
+
{
|
|
77
|
+
"url": url,
|
|
78
|
+
},
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
def search_pages_v1(
|
|
82
|
+
self,
|
|
83
|
+
*,
|
|
84
|
+
keyword: str,
|
|
85
|
+
cursor: str | None = None,
|
|
86
|
+
) -> ApiResponse[Any]:
|
|
87
|
+
"""
|
|
88
|
+
Search Pages
|
|
89
|
+
|
|
90
|
+
Searches Facebook Pages by keyword with cursor pagination. Use it to discover brand, organization, or creator Pages.
|
|
91
|
+
|
|
92
|
+
Args:
|
|
93
|
+
keyword: The search term for finding Facebook Pages.
|
|
94
|
+
cursor: The end_cursor from the previous response at data.data.search_query.combined_results.page_info. Omit for the first page.
|
|
95
|
+
"""
|
|
96
|
+
return self._get(
|
|
97
|
+
"/api/facebook/search-pages/v1",
|
|
98
|
+
{
|
|
99
|
+
"keyword": keyword,
|
|
100
|
+
"cursor": cursor,
|
|
101
|
+
},
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
def get_page_detail_v1(
|
|
105
|
+
self,
|
|
106
|
+
*,
|
|
107
|
+
page_id: str,
|
|
108
|
+
) -> ApiResponse[Any]:
|
|
109
|
+
"""
|
|
110
|
+
Get Page Detail
|
|
111
|
+
|
|
112
|
+
Retrieves the public profile details of a Facebook Page by ID. Use it to identify and enrich a known brand, organization, or creator Page.
|
|
113
|
+
|
|
114
|
+
Args:
|
|
115
|
+
page_id: The Facebook Page ID.
|
|
116
|
+
"""
|
|
117
|
+
return self._get(
|
|
118
|
+
"/api/facebook/get-page-detail/v1",
|
|
119
|
+
{
|
|
120
|
+
"pageId": page_id,
|
|
121
|
+
},
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
def get_profile_posts_v1(
|
|
125
|
+
self,
|
|
126
|
+
*,
|
|
127
|
+
profile_id: str,
|
|
128
|
+
cursor: str | None = "",
|
|
129
|
+
) -> ApiResponse[Any]:
|
|
130
|
+
"""
|
|
131
|
+
Get Profile Posts
|
|
132
|
+
|
|
133
|
+
Retrieves public posts for a Facebook profile ID with cursor pagination. Use it to browse a known profile's public posting history or continue through subsequent post pages.
|
|
134
|
+
|
|
135
|
+
Args:
|
|
136
|
+
profile_id: The unique Facebook profile ID.
|
|
137
|
+
cursor: Pagination cursor for fetching the next set of results.
|
|
138
|
+
"""
|
|
139
|
+
return self._get(
|
|
140
|
+
"/api/facebook/get-profile-posts/v1",
|
|
141
|
+
{
|
|
142
|
+
"profileId": profile_id,
|
|
143
|
+
"cursor": cursor,
|
|
144
|
+
},
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
def get_profile_posts_v2(
|
|
148
|
+
self,
|
|
149
|
+
*,
|
|
150
|
+
profile_id: str,
|
|
151
|
+
cursor: str | None = None,
|
|
152
|
+
) -> ApiResponse[Any]:
|
|
153
|
+
"""
|
|
154
|
+
Get Profile Posts
|
|
155
|
+
|
|
156
|
+
Retrieves public Reels for a Facebook Page ID with cursor pagination. Use it to browse a Page's short videos or continue through subsequent pages of Reels.
|
|
157
|
+
|
|
158
|
+
Args:
|
|
159
|
+
profile_id: The Facebook Page ID.
|
|
160
|
+
cursor: The end_cursor from the previous response at data.data.user.created_all_videos.page_info. Omit for the first page.
|
|
161
|
+
"""
|
|
162
|
+
return self._get(
|
|
163
|
+
"/api/facebook/get-profile-posts/v2",
|
|
164
|
+
{
|
|
165
|
+
"profileId": profile_id,
|
|
166
|
+
"cursor": cursor,
|
|
167
|
+
},
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
def get_page_feed_v1(
|
|
171
|
+
self,
|
|
172
|
+
*,
|
|
173
|
+
page_id: str,
|
|
174
|
+
cursor: str | None = None,
|
|
175
|
+
) -> ApiResponse[Any]:
|
|
176
|
+
"""
|
|
177
|
+
Get Page Feed
|
|
178
|
+
|
|
179
|
+
Retrieves posts from a Facebook Page by ID with cursor pagination. Use it to follow published content on a known brand or creator Page.
|
|
180
|
+
|
|
181
|
+
Args:
|
|
182
|
+
page_id: The Facebook Page ID.
|
|
183
|
+
cursor: The end_cursor from the previous response at data.data.node.timeline_feed_units.page_info. Omit for the first page.
|
|
184
|
+
"""
|
|
185
|
+
return self._get(
|
|
186
|
+
"/api/facebook/get-page-feed/v1",
|
|
187
|
+
{
|
|
188
|
+
"pageId": page_id,
|
|
189
|
+
"cursor": cursor,
|
|
190
|
+
},
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
def get_profile_reels_v1(
|
|
194
|
+
self,
|
|
195
|
+
*,
|
|
196
|
+
profile_id: str,
|
|
197
|
+
cursor: str | None = None,
|
|
198
|
+
) -> ApiResponse[Any]:
|
|
199
|
+
"""
|
|
200
|
+
Get Profile Reels
|
|
201
|
+
|
|
202
|
+
Retrieves public Reels from a personal Facebook profile by profile ID with cursor pagination. Use it to browse short videos from a known creator profile.
|
|
203
|
+
|
|
204
|
+
Args:
|
|
205
|
+
profile_id: The ID of the personal Facebook profile.
|
|
206
|
+
cursor: The end_cursor from the previous response at data.data.user.created_all_videos.page_info. Omit for the first page.
|
|
207
|
+
"""
|
|
208
|
+
return self._get(
|
|
209
|
+
"/api/facebook/get-profile-reels/v1",
|
|
210
|
+
{
|
|
211
|
+
"profileId": profile_id,
|
|
212
|
+
"cursor": cursor,
|
|
213
|
+
},
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
def get_reel_detail_v1(
|
|
217
|
+
self,
|
|
218
|
+
*,
|
|
219
|
+
reel_id: str,
|
|
220
|
+
) -> ApiResponse[Any]:
|
|
221
|
+
"""
|
|
222
|
+
Get Reel Detail
|
|
223
|
+
|
|
224
|
+
Retrieves details for a public Facebook Reel by Reel ID. Use it to inspect a known Reel's video information and engagement.
|
|
225
|
+
|
|
226
|
+
Args:
|
|
227
|
+
reel_id: The Facebook Reel ID.
|
|
228
|
+
"""
|
|
229
|
+
return self._get(
|
|
230
|
+
"/api/facebook/get-reel-detail/v1",
|
|
231
|
+
{
|
|
232
|
+
"reelId": reel_id,
|
|
233
|
+
},
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
def get_profile_videos_v1(
|
|
237
|
+
self,
|
|
238
|
+
*,
|
|
239
|
+
profile_id: str,
|
|
240
|
+
cursor: str | None = None,
|
|
241
|
+
) -> ApiResponse[Any]:
|
|
242
|
+
"""
|
|
243
|
+
Get Profile Videos
|
|
244
|
+
|
|
245
|
+
Retrieves uploaded videos from a Facebook profile by ID with cursor pagination. Use it to browse a creator's video history.
|
|
246
|
+
|
|
247
|
+
Args:
|
|
248
|
+
profile_id: The Facebook profile ID.
|
|
249
|
+
cursor: The end_cursor from the previous response at data.data.node.uploaded_videos.page_info. Omit for the first page.
|
|
250
|
+
"""
|
|
251
|
+
return self._get(
|
|
252
|
+
"/api/facebook/get-profile-videos/v1",
|
|
253
|
+
{
|
|
254
|
+
"profileId": profile_id,
|
|
255
|
+
"cursor": cursor,
|
|
256
|
+
},
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
def get_post_comments_v1(
|
|
260
|
+
self,
|
|
261
|
+
*,
|
|
262
|
+
post_id: str,
|
|
263
|
+
cursor: str | None = "",
|
|
264
|
+
) -> ApiResponse[Any]:
|
|
265
|
+
"""
|
|
266
|
+
Post Comments
|
|
267
|
+
|
|
268
|
+
Retrieves comments for a Facebook post ID with cursor pagination. Use it to review discussion associated with a known public post or continue through subsequent comment pages.
|
|
269
|
+
|
|
270
|
+
Args:
|
|
271
|
+
post_id: The unique identifier of the Facebook post.
|
|
272
|
+
cursor: Pagination cursor for fetching the next set of comments.
|
|
273
|
+
"""
|
|
274
|
+
return self._get(
|
|
275
|
+
"/api/facebook/get-post-comments/v1",
|
|
276
|
+
{
|
|
277
|
+
"postId": post_id,
|
|
278
|
+
"cursor": cursor,
|
|
279
|
+
},
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
def get_comment_replies_v1(
|
|
283
|
+
self,
|
|
284
|
+
*,
|
|
285
|
+
post_id: str,
|
|
286
|
+
comment_id: str,
|
|
287
|
+
expansion_token: str,
|
|
288
|
+
) -> ApiResponse[Any]:
|
|
289
|
+
"""
|
|
290
|
+
Comment Replies
|
|
291
|
+
|
|
292
|
+
Retrieves replies to a specific Facebook post comment using the legacy post ID, comment ID, and expansion token. Use it to inspect a known comment's nested discussion.
|
|
293
|
+
|
|
294
|
+
Args:
|
|
295
|
+
post_id: The legacy numeric identifier of the Facebook post.
|
|
296
|
+
comment_id: The unique identifier of the parent Facebook comment.
|
|
297
|
+
expansion_token: The expansion token associated with the parent Facebook comment.
|
|
298
|
+
"""
|
|
299
|
+
return self._get(
|
|
300
|
+
"/api/facebook/get-comment-replies/v1",
|
|
301
|
+
{
|
|
302
|
+
"postId": post_id,
|
|
303
|
+
"commentId": comment_id,
|
|
304
|
+
"expansionToken": expansion_token,
|
|
305
|
+
},
|
|
306
|
+
)
|
|
307
|
+
|
|
308
|
+
def search_groups_v1(
|
|
309
|
+
self,
|
|
310
|
+
*,
|
|
311
|
+
keyword: str,
|
|
312
|
+
cursor: str | None = None,
|
|
313
|
+
) -> ApiResponse[Any]:
|
|
314
|
+
"""
|
|
315
|
+
Search Groups
|
|
316
|
+
|
|
317
|
+
Searches Facebook groups by keyword with cursor pagination. Use it to discover groups for community research and social listening.
|
|
318
|
+
|
|
319
|
+
Args:
|
|
320
|
+
keyword: The search term for finding Facebook groups.
|
|
321
|
+
cursor: The end_cursor from the previous response at data.data.search_query.combined_results.page_info. Omit for the first page.
|
|
322
|
+
"""
|
|
323
|
+
return self._get(
|
|
324
|
+
"/api/facebook/search-groups/v1",
|
|
325
|
+
{
|
|
326
|
+
"keyword": keyword,
|
|
327
|
+
"cursor": cursor,
|
|
328
|
+
},
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
def get_group_detail_v1(
|
|
332
|
+
self,
|
|
333
|
+
*,
|
|
334
|
+
group_id: str,
|
|
335
|
+
) -> ApiResponse[Any]:
|
|
336
|
+
"""
|
|
337
|
+
Get Group Detail
|
|
338
|
+
|
|
339
|
+
Retrieves public profile information for a Facebook group by ID. Use it to check a group's name, category, and visibility before monitoring its discussions.
|
|
340
|
+
|
|
341
|
+
Args:
|
|
342
|
+
group_id: The Facebook group ID returned by group search.
|
|
343
|
+
"""
|
|
344
|
+
return self._get(
|
|
345
|
+
"/api/facebook/get-group-detail/v1",
|
|
346
|
+
{
|
|
347
|
+
"groupId": group_id,
|
|
348
|
+
},
|
|
349
|
+
)
|
|
350
|
+
|
|
351
|
+
def get_group_feed_v1(
|
|
352
|
+
self,
|
|
353
|
+
*,
|
|
354
|
+
group_id: str,
|
|
355
|
+
order: str | None = "TOP_POSTS",
|
|
356
|
+
cursor: str | None = None,
|
|
357
|
+
) -> ApiResponse[Any]:
|
|
358
|
+
"""
|
|
359
|
+
Get Group Feed
|
|
360
|
+
|
|
361
|
+
Retrieves posts from a Facebook group by ID with post ordering and cursor pagination. Use it to follow discussions in a known public group.
|
|
362
|
+
|
|
363
|
+
Args:
|
|
364
|
+
group_id: The Facebook group ID returned by group search.
|
|
365
|
+
order: The order of posts in the group feed. Keep the same order when paginating. Available Values: - `RECENT_ACTIVITY`: Posts with recent activity first. - `CHRONOLOGICAL`: Posts ordered by publication time. - `TOP_POSTS`: Top posts first.
|
|
366
|
+
cursor: The end_cursor from the previous response at data.data.group_address.group_feed.page_info. Omit for the first page.
|
|
367
|
+
"""
|
|
368
|
+
return self._get(
|
|
369
|
+
"/api/facebook/get-group-feed/v1",
|
|
370
|
+
{
|
|
371
|
+
"groupId": group_id,
|
|
372
|
+
"order": order,
|
|
373
|
+
"cursor": cursor,
|
|
374
|
+
},
|
|
375
|
+
)
|
|
@@ -184,3 +184,35 @@ class TiktokResource(BaseResource):
|
|
|
184
184
|
"region": region,
|
|
185
185
|
},
|
|
186
186
|
)
|
|
187
|
+
|
|
188
|
+
def get_trending_hashtags_v1(
|
|
189
|
+
self,
|
|
190
|
+
*,
|
|
191
|
+
country_code: str | None = "US",
|
|
192
|
+
time_range: str | None = "7",
|
|
193
|
+
page: int | None = 1,
|
|
194
|
+
limit: int | None = 20,
|
|
195
|
+
industry_id: int | None = None,
|
|
196
|
+
) -> ApiResponse[Any]:
|
|
197
|
+
"""
|
|
198
|
+
Trending Hashtags
|
|
199
|
+
|
|
200
|
+
Retrieves the TikTok Creative Center trending hashtag ranking by country and time window, with post counts, views, and trend data. Use it to discover popular hashtags in a market.
|
|
201
|
+
|
|
202
|
+
Args:
|
|
203
|
+
country_code: Two-letter country or region code, such as US or GB.
|
|
204
|
+
time_range: Time window in days. Available Values: - `7`: Last 7 days - `30`: Last 30 days - `90`: Last 90 days
|
|
205
|
+
page: Page number, starting at 1.
|
|
206
|
+
limit: Number of hashtags per page.
|
|
207
|
+
industry_id: Top-level Creative Center industry ID. Omit to include all industries.
|
|
208
|
+
"""
|
|
209
|
+
return self._get(
|
|
210
|
+
"/api/tiktok/get-trending-hashtags/v1",
|
|
211
|
+
{
|
|
212
|
+
"countryCode": country_code,
|
|
213
|
+
"timeRange": time_range,
|
|
214
|
+
"page": page,
|
|
215
|
+
"limit": limit,
|
|
216
|
+
"industryId": industry_id,
|
|
217
|
+
},
|
|
218
|
+
)
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: justoneapi
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.136
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for JustOneAPI
|
|
5
5
|
Author-email: JustOneAPI <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -192,6 +192,7 @@ except BusinessError as exc:
|
|
|
192
192
|
- [关键词笔记搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/keyword-note-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV2.json)</sub>
|
|
193
193
|
- [笔记搜索 (V3)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v3?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v3 -->
|
|
194
194
|
- [笔记搜索 (V4)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v4?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v4 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchNoteV4.json)</sub>
|
|
195
|
+
- [笔记搜索 (V6)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/note-search-v6?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-note/v6 -->
|
|
195
196
|
- [用户搜索 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/search-user/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiXiaohongshuSearchUserV2.json)</sub>
|
|
196
197
|
- [用户发布笔记 (V1)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v1 -->
|
|
197
198
|
- [用户发布笔记 (V2)](https://docs.justoneapi.com/zh/api/xiaohongshu-rednote/user-published-notes-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/xiaohongshu/get-user-note-list/v2 -->
|
|
@@ -455,6 +456,7 @@ except BusinessError as exc:
|
|
|
455
456
|
- [用户资料 (V2)](https://docs.justoneapi.com/zh/api/bilibili/user-profile-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-user-detail/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetUserDetailV2.json)</sub>
|
|
456
457
|
- [视频弹幕 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-danmaku-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-danmu/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoDanmuV2.json)</sub>
|
|
457
458
|
- [视频评论 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-comments-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/get-video-comment/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliGetVideoCommentV2.json)</sub>
|
|
459
|
+
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/bilibili/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/bilibili/get-video-sub-comment/v1 -->
|
|
458
460
|
- [视频搜索 (V2)](https://docs.justoneapi.com/zh/api/bilibili/video-search-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/search-video/v2 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiBilibiliSearchVideoV2.json)</sub>
|
|
459
461
|
- [视频排行 (V1)](https://docs.justoneapi.com/zh/api/bilibili/video-ranking-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/hot-list/v1 -->
|
|
460
462
|
- [热门视频信息流 (V1)](https://docs.justoneapi.com/zh/api/bilibili/popular-video-feed-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/bilibili/popular-feed/v1 -->
|
|
@@ -568,6 +570,7 @@ except BusinessError as exc:
|
|
|
568
570
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/tiktok/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/tiktok/get-post-sub-comment/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokGetPostSubCommentV1.json)</sub>
|
|
569
571
|
- [用户搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/tiktok/user-search-v1-deprecated?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list#deprecated) <!-- api-operation:GET /api/tiktok/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchUserV1.json)</sub>
|
|
570
572
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/tiktok/post-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/tiktok/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTiktokSearchPostV1.json)</sub>
|
|
573
|
+
- [热门话题标签 (V1)](https://docs.justoneapi.com/zh/api/tiktok/trending-hashtags-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/tiktok/get-trending-hashtags/v1 -->
|
|
571
574
|
|
|
572
575
|
### TikTok Shop
|
|
573
576
|
|
|
@@ -655,6 +658,7 @@ except BusinessError as exc:
|
|
|
655
658
|
- [作品搜索 (V1)](https://docs.justoneapi.com/zh/api/facebook/post-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/facebook/search-post/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookSearchPostV1.json)</sub>
|
|
656
659
|
- [获取资料ID (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-id-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-id/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfileIdV1.json)</sub>
|
|
657
660
|
- [获取资料帖子 (V1)](https://docs.justoneapi.com/zh/api/facebook/get-profile-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/facebook/get-profile-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetProfilePostsV1.json)</sub>
|
|
661
|
+
- [获取资料帖子 (V2)](https://docs.justoneapi.com/zh/api/facebook/get-profile-posts-v2?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/facebook/get-profile-posts/v2 -->
|
|
658
662
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetPostCommentsV1.json)</sub>
|
|
659
663
|
- [评论回复 (V1)](https://docs.justoneapi.com/zh/api/facebook/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/facebook/get-comment-replies/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiFacebookGetCommentRepliesV1.json)</sub>
|
|
660
664
|
|
|
@@ -665,6 +669,7 @@ except BusinessError as exc:
|
|
|
665
669
|
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetUserPostsV1.json)</sub>
|
|
666
670
|
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/twitter/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/twitter/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi/justoneapi-python/blob/main/docs/api-examples/getApiTwitterGetPostCommentsV1.json)</sub>
|
|
667
671
|
- [帖子详情 (V1)](https://docs.justoneapi.com/zh/api/twitter/post-detail-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-post-detail/v1 -->
|
|
672
|
+
- [热门话题 (V1)](https://docs.justoneapi.com/zh/api/twitter/trending-topics-v1?utm_source=pypi.org&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/twitter/get-trends/v1 -->
|
|
668
673
|
|
|
669
674
|
### 领英
|
|
670
675
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.134"
|
|
@@ -1,131 +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 FacebookResource(BaseResource):
|
|
10
|
-
"""Generated resource for Facebook."""
|
|
11
|
-
|
|
12
|
-
def search_post_v1(
|
|
13
|
-
self,
|
|
14
|
-
*,
|
|
15
|
-
keyword: str,
|
|
16
|
-
start_date: str | None = None,
|
|
17
|
-
end_date: str | None = None,
|
|
18
|
-
cursor: str | None = "",
|
|
19
|
-
) -> ApiResponse[Any]:
|
|
20
|
-
"""
|
|
21
|
-
Post Search
|
|
22
|
-
|
|
23
|
-
Searches public Facebook posts by keyword with optional inclusive date-range filters and cursor pagination. Use it to find topic-related posts or continue a time-bounded public-content search.
|
|
24
|
-
|
|
25
|
-
Args:
|
|
26
|
-
keyword: Keyword to search for in public posts. Supports basic text matching.
|
|
27
|
-
start_date: Start date for the search range (inclusive), formatted as yyyy-MM-dd.
|
|
28
|
-
end_date: End date for the search range (inclusive), formatted as yyyy-MM-dd.
|
|
29
|
-
cursor: Pagination cursor for fetching the next set of results.
|
|
30
|
-
"""
|
|
31
|
-
return self._get(
|
|
32
|
-
"/api/facebook/search-post/v1",
|
|
33
|
-
{
|
|
34
|
-
"keyword": keyword,
|
|
35
|
-
"startDate": start_date,
|
|
36
|
-
"endDate": end_date,
|
|
37
|
-
"cursor": cursor,
|
|
38
|
-
},
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
def get_profile_id_v1(
|
|
42
|
-
self,
|
|
43
|
-
*,
|
|
44
|
-
url: str,
|
|
45
|
-
) -> ApiResponse[Any]:
|
|
46
|
-
"""
|
|
47
|
-
Get Profile ID
|
|
48
|
-
|
|
49
|
-
Resolves the Facebook profile ID associated with a submitted profile-path value. Use it to obtain the identifier required before retrieving posts for a known public profile.
|
|
50
|
-
|
|
51
|
-
Args:
|
|
52
|
-
url: The path portion of the Facebook profile URL, such as /<profile-path>. Do not include the scheme or host.
|
|
53
|
-
"""
|
|
54
|
-
return self._get(
|
|
55
|
-
"/api/facebook/get-profile-id/v1",
|
|
56
|
-
{
|
|
57
|
-
"url": url,
|
|
58
|
-
},
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
def get_profile_posts_v1(
|
|
62
|
-
self,
|
|
63
|
-
*,
|
|
64
|
-
profile_id: str,
|
|
65
|
-
cursor: str | None = "",
|
|
66
|
-
) -> ApiResponse[Any]:
|
|
67
|
-
"""
|
|
68
|
-
Get Profile Posts
|
|
69
|
-
|
|
70
|
-
Retrieves public posts for a Facebook profile ID with cursor pagination. Use it to browse a known profile's public posting history or continue through subsequent post pages.
|
|
71
|
-
|
|
72
|
-
Args:
|
|
73
|
-
profile_id: The unique Facebook profile ID.
|
|
74
|
-
cursor: Pagination cursor for fetching the next set of results.
|
|
75
|
-
"""
|
|
76
|
-
return self._get(
|
|
77
|
-
"/api/facebook/get-profile-posts/v1",
|
|
78
|
-
{
|
|
79
|
-
"profileId": profile_id,
|
|
80
|
-
"cursor": cursor,
|
|
81
|
-
},
|
|
82
|
-
)
|
|
83
|
-
|
|
84
|
-
def get_post_comments_v1(
|
|
85
|
-
self,
|
|
86
|
-
*,
|
|
87
|
-
post_id: str,
|
|
88
|
-
cursor: str | None = "",
|
|
89
|
-
) -> ApiResponse[Any]:
|
|
90
|
-
"""
|
|
91
|
-
Post Comments
|
|
92
|
-
|
|
93
|
-
Retrieves comments for a Facebook post ID with cursor pagination. Use it to review discussion associated with a known public post or continue through subsequent comment pages.
|
|
94
|
-
|
|
95
|
-
Args:
|
|
96
|
-
post_id: The unique identifier of the Facebook post.
|
|
97
|
-
cursor: Pagination cursor for fetching the next set of comments.
|
|
98
|
-
"""
|
|
99
|
-
return self._get(
|
|
100
|
-
"/api/facebook/get-post-comments/v1",
|
|
101
|
-
{
|
|
102
|
-
"postId": post_id,
|
|
103
|
-
"cursor": cursor,
|
|
104
|
-
},
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
def get_comment_replies_v1(
|
|
108
|
-
self,
|
|
109
|
-
*,
|
|
110
|
-
post_id: str,
|
|
111
|
-
comment_id: str,
|
|
112
|
-
expansion_token: str,
|
|
113
|
-
) -> ApiResponse[Any]:
|
|
114
|
-
"""
|
|
115
|
-
Comment Replies
|
|
116
|
-
|
|
117
|
-
Retrieves replies to a specific Facebook post comment using the legacy post ID, comment ID, and expansion token. Use it to inspect a known comment's nested discussion.
|
|
118
|
-
|
|
119
|
-
Args:
|
|
120
|
-
post_id: The legacy numeric identifier of the Facebook post.
|
|
121
|
-
comment_id: The unique identifier of the parent Facebook comment.
|
|
122
|
-
expansion_token: The expansion token associated with the parent Facebook comment.
|
|
123
|
-
"""
|
|
124
|
-
return self._get(
|
|
125
|
-
"/api/facebook/get-comment-replies/v1",
|
|
126
|
-
{
|
|
127
|
-
"postId": post_id,
|
|
128
|
-
"commentId": comment_id,
|
|
129
|
-
"expansionToken": expansion_token,
|
|
130
|
-
},
|
|
131
|
-
)
|
|
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
|