Your connected LinkedIn profile — name, email, member id
linkedin.linkedin.user.profileGet the connected LinkedIn member's identity (name, headline picture, email, member id)
- Price
- freeプロバイダー原価
- Success rate
- 100%Last 30 days · 146 calls
- Latency p50
- 250 msp95 447 ms
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/linkedin.linkedin.user.profilePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
no parameters — the token identifies the member. Returns OpenID Connect claims: sub (the member id), name, given_name, family_name, picture, email, locale. The author URN every post needs is urn:li:person:{sub}
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/linkedin.linkedin.user.profile' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/linkedin.linkedin.user.profile",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/linkedin.linkedin.user.profile", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。