Call it
curl https://api.peume.com/v1/call/resolve-github-usernames-to-linkedin-profiles-async \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"people": [
{
"githubUsername": "torvalds"
}
],
"outputType": "linkedin"
}
}'const res = await fetch("https://api.peume.com/v1/call/resolve-github-usernames-to-linkedin-profiles-async", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"people": [
{
"githubUsername": "torvalds"
}
],
"outputType": "linkedin"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/resolve-github-usernames-to-linkedin-profiles-async",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"people": [
{
"githubUsername": "torvalds"
}
],
"outputType": "linkedin"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: resolve-github-usernames-to-linkedin-profiles-async.
Parameters
peopleRequiredarray1-1000 items of {githubUsername, customerProvidedId?}. Spec field is githubUsername
Example: [{"githubUsername":"torvalds"}]
outputTypestringlinkedin (default) | email | both. 'both' is 2 credits/person; linkedin-only is 1
Example: linkedin
overallContextstringshared descriptor (e.g. 'Linux kernel maintainers') to disambiguate similar names
Other ways to do it
Same job, other sources, cheapest first.
