Agent #19
Sotheby's International Realty · commercial · 6 yrs
Overview
agents / #19
Sotheby's International Realty · commercial · 6 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/19" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/19" ); const agent = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/agents.d.ts https://example-data.com/types/agents.d.ts
import type { Agent } from "./types/agents";
const res = await fetch(
"https://example-data.com/api/v1/agents/19"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/19"
)
agent = res.json() Response
{
"id": 19,
"userId": 77,
"brokerage": "Sotheby's International Realty",
"licenseNumber": "NX2J47QFQW",
"specialty": "commercial",
"yearsExperience": 6,
"rating": 4.9,
"ratingCount": 239,
"createdAt": "2019-07-22T14:19:34.852Z"
}