Fabric笔记管理
HTTP API操作
LinkdAPI Python SDK 用于访问 LinkedIn 职业档案与公司数据,支持获取个人资料、企业信息、职位列表及人员/职位搜索。
1. 安装 uv(若未安装)
curl -LsSf https://astral.sh/uv/install.sh | sh
2. 获取 API Key
访问 https://linkdapi.com/signup 注册获取。
3. 编写并运行脚本
# /// script
# dependencies = ["linkdapi"]
# ///
from linkdapi import LinkdAPI
import os
client = LinkdAPI(os.getenv("LINKDAPI_API_KEY"))
profile = client.get_profile_overview("username")
print(profile)
执行:uv run script.py
4. 环境变量设置
export LINKDAPI_API_KEY="your_api_key_here"
见下方输入与输出表格。
| 项目 | 内容 |
|---|---|
| 输入 | LinkedIn 用户名/公司名、搜索关键词、API Key(环境变量) |
| 输出 | JSON 格式的档案/公司/职位数据,含 success 状态与 data/message 字段 |
| 适用人群 | 招聘研究员、销售开发代表、市场分析师、数据采集团队 |
| 不包含 | LinkedIn 私有数据、站内社交功能、批量导出工具 GUI |
原始链接:https://github.com/openclaw/skills/tree/main/skills/foontinz/linkdapi/SKILL.md
来源类型:GitHub 仓库