justoneapi 3.0.102__tar.gz → 3.0.104__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.102/justoneapi.egg-info → justoneapi-3.0.104}/PKG-INFO +8 -3
- {justoneapi-3.0.102 → justoneapi-3.0.104}/README.md +7 -2
- justoneapi-3.0.104/justoneapi/_version.py +1 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/jd.py +20 -0
- justoneapi-3.0.104/justoneapi/generated/resources/linkedin.py +357 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104/justoneapi.egg-info}/PKG-INFO +8 -3
- justoneapi-3.0.102/justoneapi/_version.py +0 -1
- justoneapi-3.0.102/justoneapi/generated/resources/linkedin.py +0 -193
- {justoneapi-3.0.102 → justoneapi-3.0.104}/LICENSE +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/MANIFEST.in +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/__init__.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/_exceptions.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/_resource.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/_response.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/_transport.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/client.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/config.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/__init__.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/models.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/__init__.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/aliexpress.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/amazon.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/beike.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/bilibili.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/dewu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/douban.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/douyin.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/douyin_ec.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/douyin_xingtu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/facebook.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/field_1688.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/imdb.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/instagram.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/kuaishou.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/llm.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/qq_huxuan.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/reddit.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/search.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/shopee.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/taobao.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/temu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/tiktok.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/tiktok_shop.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/toutiao.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/twitter.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/weibo.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/weixin.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/weixin_channels.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/xianyu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/xiaohongshu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/xiaohongshu_ec.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/xiaohongshu_pgy.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/youku.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/youtube.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/zcool.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/generated/resources/zhihu.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi/log.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi.egg-info/SOURCES.txt +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi.egg-info/dependency_links.txt +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi.egg-info/requires.txt +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/justoneapi.egg-info/top_level.txt +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/pyproject.toml +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/setup.cfg +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/tests/test_bump_version.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/tests/test_codegen.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/tests/test_generated_surface.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/tests/test_integration_smoke.py +0 -0
- {justoneapi-3.0.102 → justoneapi-3.0.104}/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.104
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for Just One API
|
|
5
5
|
Author-email: Just One API <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -426,6 +426,7 @@ except BusinessError as exc:
|
|
|
426
426
|
- [商品详情 (V4)](https://docs.justoneapi.com/zh/api/jdcom/product-details-v4?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-detail/v4 -->
|
|
427
427
|
- [商品描述图片 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-description-images-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-description-images/v1 -->
|
|
428
428
|
- [商品价格 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemPriceV1.json)</sub>
|
|
429
|
+
- [商品价格 (V2)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v2 -->
|
|
429
430
|
- [商品搜索 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/search-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV1.json)</sub>
|
|
430
431
|
- [商品搜索 (V2)(已弃用)](https://docs.justoneapi.com/zh/api/jdcom/product-search-v2-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/jd/search-item-list/v2 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV2.json)</sub>
|
|
431
432
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemCommentsV1.json)</sub>
|
|
@@ -615,9 +616,13 @@ except BusinessError as exc:
|
|
|
615
616
|
- [人员搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/people-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/linkedin/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinSearchUserV1.json)</sub>
|
|
616
617
|
- [用户资料 (V1)](https://docs.justoneapi.com/zh/api/linkedin/user-profile-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-user-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserDetailV1.json)</sub>
|
|
617
618
|
- [公司员工 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/company-employees-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/linkedin/get-company-employees/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetCompanyEmployeesV1.json)</sub>
|
|
618
|
-
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
619
|
+
- [用户发布帖子 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/user-published-posts-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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
619
620
|
- [帖子反应 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-reactions-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/linkedin/get-post-reactions/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostReactionsV1.json)</sub>
|
|
620
|
-
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
621
|
+
- [帖子评论 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-comments-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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
622
|
+
- [职位搜索 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/search-job/v1 -->
|
|
623
|
+
- [职位详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/get-job-detail/v1 -->
|
|
624
|
+
- [公司职位 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-jobs-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-company-jobs/v1 -->
|
|
625
|
+
- [公司详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-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/linkedin/get-company-detail/v1 -->
|
|
621
626
|
|
|
622
627
|
### 贝壳
|
|
623
628
|
|
|
@@ -410,6 +410,7 @@ except BusinessError as exc:
|
|
|
410
410
|
- [商品详情 (V4)](https://docs.justoneapi.com/zh/api/jdcom/product-details-v4?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-detail/v4 -->
|
|
411
411
|
- [商品描述图片 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-description-images-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-description-images/v1 -->
|
|
412
412
|
- [商品价格 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemPriceV1.json)</sub>
|
|
413
|
+
- [商品价格 (V2)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v2 -->
|
|
413
414
|
- [商品搜索 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/search-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV1.json)</sub>
|
|
414
415
|
- [商品搜索 (V2)(已弃用)](https://docs.justoneapi.com/zh/api/jdcom/product-search-v2-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/jd/search-item-list/v2 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV2.json)</sub>
|
|
415
416
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemCommentsV1.json)</sub>
|
|
@@ -599,9 +600,13 @@ except BusinessError as exc:
|
|
|
599
600
|
- [人员搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/people-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/linkedin/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinSearchUserV1.json)</sub>
|
|
600
601
|
- [用户资料 (V1)](https://docs.justoneapi.com/zh/api/linkedin/user-profile-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-user-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserDetailV1.json)</sub>
|
|
601
602
|
- [公司员工 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/company-employees-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/linkedin/get-company-employees/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetCompanyEmployeesV1.json)</sub>
|
|
602
|
-
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
603
|
+
- [用户发布帖子 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/user-published-posts-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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
603
604
|
- [帖子反应 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-reactions-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/linkedin/get-post-reactions/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostReactionsV1.json)</sub>
|
|
604
|
-
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
605
|
+
- [帖子评论 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-comments-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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
606
|
+
- [职位搜索 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/search-job/v1 -->
|
|
607
|
+
- [职位详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/get-job-detail/v1 -->
|
|
608
|
+
- [公司职位 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-jobs-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-company-jobs/v1 -->
|
|
609
|
+
- [公司详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-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/linkedin/get-company-detail/v1 -->
|
|
605
610
|
|
|
606
611
|
### 贝壳
|
|
607
612
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.104"
|
|
@@ -109,6 +109,26 @@ class JdResource(BaseResource):
|
|
|
109
109
|
},
|
|
110
110
|
)
|
|
111
111
|
|
|
112
|
+
def get_item_price_v2(
|
|
113
|
+
self,
|
|
114
|
+
*,
|
|
115
|
+
item_ids: str,
|
|
116
|
+
) -> ApiResponse[Any]:
|
|
117
|
+
"""
|
|
118
|
+
Product Price
|
|
119
|
+
|
|
120
|
+
Retrieve JD.com product prices for up to 10 comma-separated item IDs in one request. Use it for batch price checks and catalog comparisons.
|
|
121
|
+
|
|
122
|
+
Args:
|
|
123
|
+
item_ids: Between 1 and 10 numeric JD.com item IDs, separated by commas without spaces.
|
|
124
|
+
"""
|
|
125
|
+
return self._get(
|
|
126
|
+
"/api/jd/get-item-price/v2",
|
|
127
|
+
{
|
|
128
|
+
"itemIds": item_ids,
|
|
129
|
+
},
|
|
130
|
+
)
|
|
131
|
+
|
|
112
132
|
def search_item_list_v1(
|
|
113
133
|
self,
|
|
114
134
|
*,
|
|
@@ -0,0 +1,357 @@
|
|
|
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 LinkedinResource(BaseResource):
|
|
10
|
+
"""Generated resource for LinkedIn."""
|
|
11
|
+
|
|
12
|
+
def search_user_v1(
|
|
13
|
+
self,
|
|
14
|
+
*,
|
|
15
|
+
name: str | None = "",
|
|
16
|
+
first_name: str | None = "",
|
|
17
|
+
last_name: str | None = "",
|
|
18
|
+
title: str | None = "",
|
|
19
|
+
company: str | None = "",
|
|
20
|
+
school: str | None = "",
|
|
21
|
+
page: int | None = 1,
|
|
22
|
+
geocode_location: str | None = "",
|
|
23
|
+
current_company: str | None = "",
|
|
24
|
+
profile_language: str | None = "",
|
|
25
|
+
industry: str | None = "",
|
|
26
|
+
service_category: str | None = "",
|
|
27
|
+
) -> ApiResponse[Any]:
|
|
28
|
+
"""
|
|
29
|
+
People Search
|
|
30
|
+
|
|
31
|
+
This LinkedIn people-search endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
32
|
+
|
|
33
|
+
Args:
|
|
34
|
+
name: Name or general keyword to search for.
|
|
35
|
+
first_name: First name filter.
|
|
36
|
+
last_name: Last name filter.
|
|
37
|
+
title: Professional title filter.
|
|
38
|
+
company: Company name filter.
|
|
39
|
+
school: School name filter.
|
|
40
|
+
page: Page number, starting from 1.
|
|
41
|
+
geocode_location: LinkedIn geographic location code.
|
|
42
|
+
current_company: LinkedIn current company ID filter.
|
|
43
|
+
profile_language: Profile language filter.
|
|
44
|
+
industry: LinkedIn industry ID filter.
|
|
45
|
+
service_category: LinkedIn service category ID filter.
|
|
46
|
+
"""
|
|
47
|
+
return self._get(
|
|
48
|
+
"/api/linkedin/search-user/v1",
|
|
49
|
+
{
|
|
50
|
+
"name": name,
|
|
51
|
+
"firstName": first_name,
|
|
52
|
+
"lastName": last_name,
|
|
53
|
+
"title": title,
|
|
54
|
+
"company": company,
|
|
55
|
+
"school": school,
|
|
56
|
+
"page": page,
|
|
57
|
+
"geocodeLocation": geocode_location,
|
|
58
|
+
"currentCompany": current_company,
|
|
59
|
+
"profileLanguage": profile_language,
|
|
60
|
+
"industry": industry,
|
|
61
|
+
"serviceCategory": service_category,
|
|
62
|
+
},
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
def get_user_detail_v1(
|
|
66
|
+
self,
|
|
67
|
+
*,
|
|
68
|
+
username: str,
|
|
69
|
+
) -> ApiResponse[Any]:
|
|
70
|
+
"""
|
|
71
|
+
User Profile
|
|
72
|
+
|
|
73
|
+
Retrieves a LinkedIn profile by username, including documented core profile fields such as name and headline. Use it to inspect a person's professional background or before requesting published posts.
|
|
74
|
+
|
|
75
|
+
Args:
|
|
76
|
+
username: LinkedIn username from the profile URL, for example jack from linkedin.com/in/jack.
|
|
77
|
+
"""
|
|
78
|
+
return self._get(
|
|
79
|
+
"/api/linkedin/get-user-detail/v1",
|
|
80
|
+
{
|
|
81
|
+
"username": username,
|
|
82
|
+
},
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
def get_company_employees_v1(
|
|
86
|
+
self,
|
|
87
|
+
*,
|
|
88
|
+
company_id: str,
|
|
89
|
+
page: int | None = 1,
|
|
90
|
+
) -> ApiResponse[Any]:
|
|
91
|
+
"""
|
|
92
|
+
Company Employees
|
|
93
|
+
|
|
94
|
+
This LinkedIn company-employee endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
95
|
+
|
|
96
|
+
Args:
|
|
97
|
+
company_id: LinkedIn company ID.
|
|
98
|
+
page: Page number, starting from 1.
|
|
99
|
+
"""
|
|
100
|
+
return self._get(
|
|
101
|
+
"/api/linkedin/get-company-employees/v1",
|
|
102
|
+
{
|
|
103
|
+
"companyId": company_id,
|
|
104
|
+
"page": page,
|
|
105
|
+
},
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
def get_user_posts_v1(
|
|
109
|
+
self,
|
|
110
|
+
*,
|
|
111
|
+
url: str,
|
|
112
|
+
type: str | None = "posts",
|
|
113
|
+
start: int | None = 0,
|
|
114
|
+
pagination_token: str | None = "",
|
|
115
|
+
) -> ApiResponse[Any]:
|
|
116
|
+
"""
|
|
117
|
+
User Published Posts
|
|
118
|
+
|
|
119
|
+
This LinkedIn user-post endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
120
|
+
|
|
121
|
+
Args:
|
|
122
|
+
url: Full LinkedIn profile URL.
|
|
123
|
+
type: User activity type. Available Values: - `POSTS`: Posts published by the user - `COMMENTS`: Posts commented on by the user - `REACTIONS`: Posts reacted to by the user
|
|
124
|
+
start: Pagination offset starting from 0, normally increasing by 50.
|
|
125
|
+
pagination_token: Pagination token returned by a previous response.
|
|
126
|
+
"""
|
|
127
|
+
return self._get(
|
|
128
|
+
"/api/linkedin/get-user-posts/v1",
|
|
129
|
+
{
|
|
130
|
+
"url": url,
|
|
131
|
+
"type": type,
|
|
132
|
+
"start": start,
|
|
133
|
+
"paginationToken": pagination_token,
|
|
134
|
+
},
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
def get_post_reactions_v1(
|
|
138
|
+
self,
|
|
139
|
+
*,
|
|
140
|
+
post_id: str,
|
|
141
|
+
page: int | None = 1,
|
|
142
|
+
type: str | None = "all",
|
|
143
|
+
) -> ApiResponse[Any]:
|
|
144
|
+
"""
|
|
145
|
+
Post Reactions
|
|
146
|
+
|
|
147
|
+
This LinkedIn post-reaction-record endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
148
|
+
|
|
149
|
+
Args:
|
|
150
|
+
post_id: LinkedIn post ID.
|
|
151
|
+
page: Page number, starting from 1.
|
|
152
|
+
type: Reaction type filter. Available Values: - `ALL`: All reaction types - `LIKE`: Like reactions - `PRAISE`: Praise reactions - `EMPATHY`: Empathy reactions - `APPRECIATION`: Appreciation reactions - `INTEREST`: Interest reactions
|
|
153
|
+
"""
|
|
154
|
+
return self._get(
|
|
155
|
+
"/api/linkedin/get-post-reactions/v1",
|
|
156
|
+
{
|
|
157
|
+
"postId": post_id,
|
|
158
|
+
"page": page,
|
|
159
|
+
"type": type,
|
|
160
|
+
},
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
def get_post_comments_v1(
|
|
164
|
+
self,
|
|
165
|
+
*,
|
|
166
|
+
post_id: str,
|
|
167
|
+
page: int | None = 1,
|
|
168
|
+
sort_order: str | None = "relevance",
|
|
169
|
+
pagination_token: str | None = "",
|
|
170
|
+
share_urn: str | None = "",
|
|
171
|
+
) -> ApiResponse[Any]:
|
|
172
|
+
"""
|
|
173
|
+
Post Comments
|
|
174
|
+
|
|
175
|
+
This LinkedIn post-comment endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
176
|
+
|
|
177
|
+
Args:
|
|
178
|
+
post_id: LinkedIn post ID.
|
|
179
|
+
page: Page number, starting from 1.
|
|
180
|
+
sort_order: Comment sort order. Available Values: - `RELEVANCE`: Sort comments by relevance - `RECENT`: Sort comments from most recent
|
|
181
|
+
pagination_token: Pagination token returned by a previous response.
|
|
182
|
+
share_urn: Optional share URN for a shared post.
|
|
183
|
+
"""
|
|
184
|
+
return self._get(
|
|
185
|
+
"/api/linkedin/get-post-comments/v1",
|
|
186
|
+
{
|
|
187
|
+
"postId": post_id,
|
|
188
|
+
"page": page,
|
|
189
|
+
"sortOrder": sort_order,
|
|
190
|
+
"paginationToken": pagination_token,
|
|
191
|
+
"shareUrn": share_urn,
|
|
192
|
+
},
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
def search_job_v1(
|
|
196
|
+
self,
|
|
197
|
+
*,
|
|
198
|
+
keyword: str,
|
|
199
|
+
location: str | None = "",
|
|
200
|
+
page: int | None = 1,
|
|
201
|
+
num_pages: int | None = 1,
|
|
202
|
+
geo_id: str | None = "",
|
|
203
|
+
sort_by: str | None = "relevance",
|
|
204
|
+
date_posted: str | None = "all",
|
|
205
|
+
employment_types: list[Any] | None = None,
|
|
206
|
+
seniority_levels: list[Any] | None = None,
|
|
207
|
+
company_id: str | None = "",
|
|
208
|
+
remote_jobs_only: bool | None = False,
|
|
209
|
+
include_details: bool | None = True,
|
|
210
|
+
radius: int | None = None,
|
|
211
|
+
fields: str | None = "",
|
|
212
|
+
) -> ApiResponse[Any]:
|
|
213
|
+
"""
|
|
214
|
+
Job Search
|
|
215
|
+
|
|
216
|
+
Searches LinkedIn job postings by keyword with location, posting age, company, employment type, seniority, and pagination filters. Use it to discover recruitment opportunities and research hiring activity.
|
|
217
|
+
|
|
218
|
+
Args:
|
|
219
|
+
keyword: Free-form job search keyword.
|
|
220
|
+
location: Free-text location, such as London, United Kingdom.
|
|
221
|
+
page: First page to fetch, from 1 to 100. Each page contains up to 10 jobs.
|
|
222
|
+
num_pages: Number of consecutive pages to fetch, from 1 to 20. The last requested page must not exceed 100.
|
|
223
|
+
geo_id: Numeric LinkedIn geographic location ID. Required when radius is supplied.
|
|
224
|
+
sort_by: Sort order. Date sorting applies to the jobs returned in this response. Available Values: - `relevance`: Keep relevance ordering - `date`: Sort the returned jobs from newest to oldest
|
|
225
|
+
date_posted: Job posting age filter. Available Values: - `all`: All posting dates - `today`: Posted within the last 24 hours - `3days`: Posted within the last 72 hours - `week`: Posted within the last 7 days - `month`: Posted within the last 30 days
|
|
226
|
+
employment_types: Comma-separated employment types. Applying this filter enables job details and may return fewer jobs than the requested page size.
|
|
227
|
+
seniority_levels: Comma-separated seniority levels. Applying this filter enables job details and may return fewer jobs than the requested page size.
|
|
228
|
+
company_id: Numeric LinkedIn company ID to restrict the search to one company.
|
|
229
|
+
remote_jobs_only: Return only jobs with an explicit remote marker. This best-effort filter may omit remote jobs.
|
|
230
|
+
include_details: Fetch details for up to 100 jobs per request in addition to search cards. Employment and seniority filters enable details regardless of this value.
|
|
231
|
+
radius: Search radius in kilometres, at least 1. Requires geoId.
|
|
232
|
+
fields: Comma-separated job fields to include. job_id and job_title are always included.
|
|
233
|
+
"""
|
|
234
|
+
return self._get(
|
|
235
|
+
"/api/linkedin/search-job/v1",
|
|
236
|
+
{
|
|
237
|
+
"keyword": keyword,
|
|
238
|
+
"location": location,
|
|
239
|
+
"page": page,
|
|
240
|
+
"numPages": num_pages,
|
|
241
|
+
"geoId": geo_id,
|
|
242
|
+
"sortBy": sort_by,
|
|
243
|
+
"datePosted": date_posted,
|
|
244
|
+
"employmentTypes": employment_types,
|
|
245
|
+
"seniorityLevels": seniority_levels,
|
|
246
|
+
"companyId": company_id,
|
|
247
|
+
"remoteJobsOnly": remote_jobs_only,
|
|
248
|
+
"includeDetails": include_details,
|
|
249
|
+
"radius": radius,
|
|
250
|
+
"fields": fields,
|
|
251
|
+
},
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
def get_job_detail_v1(
|
|
255
|
+
self,
|
|
256
|
+
*,
|
|
257
|
+
job_id: str,
|
|
258
|
+
fields: str | None = "",
|
|
259
|
+
) -> ApiResponse[Any]:
|
|
260
|
+
"""
|
|
261
|
+
Job Details
|
|
262
|
+
|
|
263
|
+
Retrieves LinkedIn job details for up to 20 distinct job identifiers, with optional field projection. Use it to inspect selected postings after a job search; unavailable postings are omitted from the result.
|
|
264
|
+
|
|
265
|
+
Args:
|
|
266
|
+
job_id: Comma-separated job IDs returned by job search or raw numeric LinkedIn posting IDs, up to 20 distinct values.
|
|
267
|
+
fields: Comma-separated job fields to include. job_id and job_title are always included.
|
|
268
|
+
"""
|
|
269
|
+
return self._get(
|
|
270
|
+
"/api/linkedin/get-job-detail/v1",
|
|
271
|
+
{
|
|
272
|
+
"jobId": job_id,
|
|
273
|
+
"fields": fields,
|
|
274
|
+
},
|
|
275
|
+
)
|
|
276
|
+
|
|
277
|
+
def get_company_jobs_v1(
|
|
278
|
+
self,
|
|
279
|
+
*,
|
|
280
|
+
company_id: str | None = "",
|
|
281
|
+
company: str | None = "",
|
|
282
|
+
keyword: str | None = "",
|
|
283
|
+
location: str | None = "",
|
|
284
|
+
page: int | None = 1,
|
|
285
|
+
num_pages: int | None = 1,
|
|
286
|
+
geo_id: str | None = "",
|
|
287
|
+
sort_by: str | None = "relevance",
|
|
288
|
+
date_posted: str | None = "all",
|
|
289
|
+
employment_types: list[Any] | None = None,
|
|
290
|
+
seniority_levels: list[Any] | None = None,
|
|
291
|
+
remote_jobs_only: bool | None = False,
|
|
292
|
+
include_details: bool | None = True,
|
|
293
|
+
radius: int | None = None,
|
|
294
|
+
fields: str | None = "",
|
|
295
|
+
) -> ApiResponse[Any]:
|
|
296
|
+
"""
|
|
297
|
+
Company Jobs
|
|
298
|
+
|
|
299
|
+
Retrieves LinkedIn job postings for companies identified by company IDs, vanity names, or company page URLs, with optional keyword, location, posting age, and pagination filters. Use it to track company hiring activity across one or more employers.
|
|
300
|
+
|
|
301
|
+
Args:
|
|
302
|
+
company_id: Comma-separated numeric LinkedIn company IDs, up to 10. Supply companyId or company. Companies are matched as a union; a page may contain jobs from only some selected companies.
|
|
303
|
+
company: Comma-separated LinkedIn company vanity names or company page URLs, up to 10. Supply companyId or company. An unknown vanity name fails the request.
|
|
304
|
+
keyword: Optional job keyword to search within the selected companies.
|
|
305
|
+
location: Free-text location, such as London, United Kingdom.
|
|
306
|
+
page: First page to fetch, from 1 to 100. Each page contains up to 10 jobs.
|
|
307
|
+
num_pages: Number of consecutive pages to fetch, from 1 to 20. The last requested page must not exceed 100.
|
|
308
|
+
geo_id: Numeric LinkedIn geographic location ID. Required when radius is supplied.
|
|
309
|
+
sort_by: Sort order. Date sorting applies to the jobs returned in this response. Available Values: - `relevance`: Keep relevance ordering - `date`: Sort the returned jobs from newest to oldest
|
|
310
|
+
date_posted: Job posting age filter. Available Values: - `all`: All posting dates - `today`: Posted within the last 24 hours - `3days`: Posted within the last 72 hours - `week`: Posted within the last 7 days - `month`: Posted within the last 30 days
|
|
311
|
+
employment_types: Comma-separated employment types. Applying this filter enables job details and may return fewer jobs than the requested page size.
|
|
312
|
+
seniority_levels: Comma-separated seniority levels. Applying this filter enables job details and may return fewer jobs than the requested page size.
|
|
313
|
+
remote_jobs_only: Return only jobs with an explicit remote marker. This best-effort filter may omit remote jobs.
|
|
314
|
+
include_details: Fetch details for up to 100 jobs per request in addition to search cards. Employment and seniority filters enable details regardless of this value.
|
|
315
|
+
radius: Search radius in kilometres, at least 1. Requires geoId.
|
|
316
|
+
fields: Comma-separated job fields to include. job_id and job_title are always included.
|
|
317
|
+
"""
|
|
318
|
+
return self._get(
|
|
319
|
+
"/api/linkedin/get-company-jobs/v1",
|
|
320
|
+
{
|
|
321
|
+
"companyId": company_id,
|
|
322
|
+
"company": company,
|
|
323
|
+
"keyword": keyword,
|
|
324
|
+
"location": location,
|
|
325
|
+
"page": page,
|
|
326
|
+
"numPages": num_pages,
|
|
327
|
+
"geoId": geo_id,
|
|
328
|
+
"sortBy": sort_by,
|
|
329
|
+
"datePosted": date_posted,
|
|
330
|
+
"employmentTypes": employment_types,
|
|
331
|
+
"seniorityLevels": seniority_levels,
|
|
332
|
+
"remoteJobsOnly": remote_jobs_only,
|
|
333
|
+
"includeDetails": include_details,
|
|
334
|
+
"radius": radius,
|
|
335
|
+
"fields": fields,
|
|
336
|
+
},
|
|
337
|
+
)
|
|
338
|
+
|
|
339
|
+
def get_company_detail_v1(
|
|
340
|
+
self,
|
|
341
|
+
*,
|
|
342
|
+
company: str,
|
|
343
|
+
) -> ApiResponse[Any]:
|
|
344
|
+
"""
|
|
345
|
+
Company Details
|
|
346
|
+
|
|
347
|
+
Retrieves a public LinkedIn company profile by its vanity name or company page URL. Use it to research a company and obtain its company identifier before querying company job postings.
|
|
348
|
+
|
|
349
|
+
Args:
|
|
350
|
+
company: LinkedIn company vanity name or company page URL. School pages are not supported.
|
|
351
|
+
"""
|
|
352
|
+
return self._get(
|
|
353
|
+
"/api/linkedin/get-company-detail/v1",
|
|
354
|
+
{
|
|
355
|
+
"company": company,
|
|
356
|
+
},
|
|
357
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: justoneapi
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.104
|
|
4
4
|
Summary: OpenAPI-driven Python SDK for Just One API
|
|
5
5
|
Author-email: Just One API <support@justoneapi.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -426,6 +426,7 @@ except BusinessError as exc:
|
|
|
426
426
|
- [商品详情 (V4)](https://docs.justoneapi.com/zh/api/jdcom/product-details-v4?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-detail/v4 -->
|
|
427
427
|
- [商品描述图片 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-description-images-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-description-images/v1 -->
|
|
428
428
|
- [商品价格 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemPriceV1.json)</sub>
|
|
429
|
+
- [商品价格 (V2)](https://docs.justoneapi.com/zh/api/jdcom/product-price-v2?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/jd/get-item-price/v2 -->
|
|
429
430
|
- [商品搜索 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/search-item-list/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV1.json)</sub>
|
|
430
431
|
- [商品搜索 (V2)(已弃用)](https://docs.justoneapi.com/zh/api/jdcom/product-search-v2-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/jd/search-item-list/v2 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdSearchItemListV2.json)</sub>
|
|
431
432
|
- [商品评论 (V1)](https://docs.justoneapi.com/zh/api/jdcom/product-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/jd/get-item-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiJdGetItemCommentsV1.json)</sub>
|
|
@@ -615,9 +616,13 @@ except BusinessError as exc:
|
|
|
615
616
|
- [人员搜索 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/people-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/linkedin/search-user/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinSearchUserV1.json)</sub>
|
|
616
617
|
- [用户资料 (V1)](https://docs.justoneapi.com/zh/api/linkedin/user-profile-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-user-detail/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserDetailV1.json)</sub>
|
|
617
618
|
- [公司员工 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/company-employees-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/linkedin/get-company-employees/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetCompanyEmployeesV1.json)</sub>
|
|
618
|
-
- [用户发布帖子 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
619
|
+
- [用户发布帖子 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/user-published-posts-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/linkedin/get-user-posts/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetUserPostsV1.json)</sub>
|
|
619
620
|
- [帖子反应 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-reactions-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/linkedin/get-post-reactions/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostReactionsV1.json)</sub>
|
|
620
|
-
- [帖子评论 (V1)](https://docs.justoneapi.com/zh/api/linkedin/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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
621
|
+
- [帖子评论 (V1)(已弃用)](https://docs.justoneapi.com/zh/api/linkedin/post-comments-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/linkedin/get-post-comments/v1 --> <sub>[JSON](https://github.com/justoneapi-official/justoneapi-python/blob/main/docs/api-examples/getApiLinkedinGetPostCommentsV1.json)</sub>
|
|
622
|
+
- [职位搜索 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/search-job/v1 -->
|
|
623
|
+
- [职位详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/job-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/linkedin/get-job-detail/v1 -->
|
|
624
|
+
- [公司职位 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-jobs-v1?utm_source=github.com&utm_medium=referral&utm_campaign=justoneapi_official_justoneapi_python&utm_content=repo_readme_api_list) <!-- api-operation:GET /api/linkedin/get-company-jobs/v1 -->
|
|
625
|
+
- [公司详情 (V1)](https://docs.justoneapi.com/zh/api/linkedin/company-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/linkedin/get-company-detail/v1 -->
|
|
621
626
|
|
|
622
627
|
### 贝壳
|
|
623
628
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.102"
|
|
@@ -1,193 +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 LinkedinResource(BaseResource):
|
|
10
|
-
"""Generated resource for LinkedIn."""
|
|
11
|
-
|
|
12
|
-
def search_user_v1(
|
|
13
|
-
self,
|
|
14
|
-
*,
|
|
15
|
-
name: str | None = "",
|
|
16
|
-
first_name: str | None = "",
|
|
17
|
-
last_name: str | None = "",
|
|
18
|
-
title: str | None = "",
|
|
19
|
-
company: str | None = "",
|
|
20
|
-
school: str | None = "",
|
|
21
|
-
page: int | None = 1,
|
|
22
|
-
geocode_location: str | None = "",
|
|
23
|
-
current_company: str | None = "",
|
|
24
|
-
profile_language: str | None = "",
|
|
25
|
-
industry: str | None = "",
|
|
26
|
-
service_category: str | None = "",
|
|
27
|
-
) -> ApiResponse[Any]:
|
|
28
|
-
"""
|
|
29
|
-
People Search
|
|
30
|
-
|
|
31
|
-
This LinkedIn people-search endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
32
|
-
|
|
33
|
-
Args:
|
|
34
|
-
name: Name or general keyword to search for.
|
|
35
|
-
first_name: First name filter.
|
|
36
|
-
last_name: Last name filter.
|
|
37
|
-
title: Professional title filter.
|
|
38
|
-
company: Company name filter.
|
|
39
|
-
school: School name filter.
|
|
40
|
-
page: Page number, starting from 1.
|
|
41
|
-
geocode_location: LinkedIn geographic location code.
|
|
42
|
-
current_company: LinkedIn current company ID filter.
|
|
43
|
-
profile_language: Profile language filter.
|
|
44
|
-
industry: LinkedIn industry ID filter.
|
|
45
|
-
service_category: LinkedIn service category ID filter.
|
|
46
|
-
"""
|
|
47
|
-
return self._get(
|
|
48
|
-
"/api/linkedin/search-user/v1",
|
|
49
|
-
{
|
|
50
|
-
"name": name,
|
|
51
|
-
"firstName": first_name,
|
|
52
|
-
"lastName": last_name,
|
|
53
|
-
"title": title,
|
|
54
|
-
"company": company,
|
|
55
|
-
"school": school,
|
|
56
|
-
"page": page,
|
|
57
|
-
"geocodeLocation": geocode_location,
|
|
58
|
-
"currentCompany": current_company,
|
|
59
|
-
"profileLanguage": profile_language,
|
|
60
|
-
"industry": industry,
|
|
61
|
-
"serviceCategory": service_category,
|
|
62
|
-
},
|
|
63
|
-
)
|
|
64
|
-
|
|
65
|
-
def get_user_detail_v1(
|
|
66
|
-
self,
|
|
67
|
-
*,
|
|
68
|
-
username: str,
|
|
69
|
-
) -> ApiResponse[Any]:
|
|
70
|
-
"""
|
|
71
|
-
User Profile
|
|
72
|
-
|
|
73
|
-
Retrieves a LinkedIn profile by username, including documented core profile fields such as name and headline. Use it to inspect a person's professional background or before requesting published posts.
|
|
74
|
-
|
|
75
|
-
Args:
|
|
76
|
-
username: LinkedIn username from the profile URL, for example jack from linkedin.com/in/jack.
|
|
77
|
-
"""
|
|
78
|
-
return self._get(
|
|
79
|
-
"/api/linkedin/get-user-detail/v1",
|
|
80
|
-
{
|
|
81
|
-
"username": username,
|
|
82
|
-
},
|
|
83
|
-
)
|
|
84
|
-
|
|
85
|
-
def get_company_employees_v1(
|
|
86
|
-
self,
|
|
87
|
-
*,
|
|
88
|
-
company_id: str,
|
|
89
|
-
page: int | None = 1,
|
|
90
|
-
) -> ApiResponse[Any]:
|
|
91
|
-
"""
|
|
92
|
-
Company Employees
|
|
93
|
-
|
|
94
|
-
This LinkedIn company-employee endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
95
|
-
|
|
96
|
-
Args:
|
|
97
|
-
company_id: LinkedIn company ID.
|
|
98
|
-
page: Page number, starting from 1.
|
|
99
|
-
"""
|
|
100
|
-
return self._get(
|
|
101
|
-
"/api/linkedin/get-company-employees/v1",
|
|
102
|
-
{
|
|
103
|
-
"companyId": company_id,
|
|
104
|
-
"page": page,
|
|
105
|
-
},
|
|
106
|
-
)
|
|
107
|
-
|
|
108
|
-
def get_user_posts_v1(
|
|
109
|
-
self,
|
|
110
|
-
*,
|
|
111
|
-
url: str,
|
|
112
|
-
type: str | None = "posts",
|
|
113
|
-
start: int | None = 0,
|
|
114
|
-
pagination_token: str | None = "",
|
|
115
|
-
) -> ApiResponse[Any]:
|
|
116
|
-
"""
|
|
117
|
-
User Published Posts
|
|
118
|
-
|
|
119
|
-
Retrieves posts published, commented on, or reacted to by a LinkedIn member using a profile URL, activity type, offset, and pagination token. Use it to review public professional activity and continue through additional result pages.
|
|
120
|
-
|
|
121
|
-
Args:
|
|
122
|
-
url: Full LinkedIn profile URL.
|
|
123
|
-
type: User activity type. Available Values: - `POSTS`: Posts published by the user - `COMMENTS`: Posts commented on by the user - `REACTIONS`: Posts reacted to by the user
|
|
124
|
-
start: Pagination offset starting from 0, normally increasing by 50.
|
|
125
|
-
pagination_token: Pagination token returned by a previous response.
|
|
126
|
-
"""
|
|
127
|
-
return self._get(
|
|
128
|
-
"/api/linkedin/get-user-posts/v1",
|
|
129
|
-
{
|
|
130
|
-
"url": url,
|
|
131
|
-
"type": type,
|
|
132
|
-
"start": start,
|
|
133
|
-
"paginationToken": pagination_token,
|
|
134
|
-
},
|
|
135
|
-
)
|
|
136
|
-
|
|
137
|
-
def get_post_reactions_v1(
|
|
138
|
-
self,
|
|
139
|
-
*,
|
|
140
|
-
post_id: str,
|
|
141
|
-
page: int | None = 1,
|
|
142
|
-
type: str | None = "all",
|
|
143
|
-
) -> ApiResponse[Any]:
|
|
144
|
-
"""
|
|
145
|
-
Post Reactions
|
|
146
|
-
|
|
147
|
-
This LinkedIn post-reaction-record endpoint is deprecated because the capability is no longer available. Existing integrations should stop sending requests.
|
|
148
|
-
|
|
149
|
-
Args:
|
|
150
|
-
post_id: LinkedIn post ID.
|
|
151
|
-
page: Page number, starting from 1.
|
|
152
|
-
type: Reaction type filter. Available Values: - `ALL`: All reaction types - `LIKE`: Like reactions - `PRAISE`: Praise reactions - `EMPATHY`: Empathy reactions - `APPRECIATION`: Appreciation reactions - `INTEREST`: Interest reactions
|
|
153
|
-
"""
|
|
154
|
-
return self._get(
|
|
155
|
-
"/api/linkedin/get-post-reactions/v1",
|
|
156
|
-
{
|
|
157
|
-
"postId": post_id,
|
|
158
|
-
"page": page,
|
|
159
|
-
"type": type,
|
|
160
|
-
},
|
|
161
|
-
)
|
|
162
|
-
|
|
163
|
-
def get_post_comments_v1(
|
|
164
|
-
self,
|
|
165
|
-
*,
|
|
166
|
-
post_id: str,
|
|
167
|
-
page: int | None = 1,
|
|
168
|
-
sort_order: str | None = "relevance",
|
|
169
|
-
pagination_token: str | None = "",
|
|
170
|
-
share_urn: str | None = "",
|
|
171
|
-
) -> ApiResponse[Any]:
|
|
172
|
-
"""
|
|
173
|
-
Post Comments
|
|
174
|
-
|
|
175
|
-
Retrieves LinkedIn comments for an activity post with relevance or recent sorting, page-based navigation, a pagination token, and optional share URN. Use it to review public discussion around known professional content.
|
|
176
|
-
|
|
177
|
-
Args:
|
|
178
|
-
post_id: LinkedIn post ID.
|
|
179
|
-
page: Page number, starting from 1.
|
|
180
|
-
sort_order: Comment sort order. Available Values: - `RELEVANCE`: Sort comments by relevance - `RECENT`: Sort comments from most recent
|
|
181
|
-
pagination_token: Pagination token returned by a previous response.
|
|
182
|
-
share_urn: Optional share URN for a shared post.
|
|
183
|
-
"""
|
|
184
|
-
return self._get(
|
|
185
|
-
"/api/linkedin/get-post-comments/v1",
|
|
186
|
-
{
|
|
187
|
-
"postId": post_id,
|
|
188
|
-
"page": page,
|
|
189
|
-
"sortOrder": sort_order,
|
|
190
|
-
"paginationToken": pagination_token,
|
|
191
|
-
"shareUrn": share_urn,
|
|
192
|
-
},
|
|
193
|
-
)
|
|
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
|