Agent #8
Douglas Elliman · luxury · 7 yrs
agents / #8
Douglas Elliman · luxury · 7 yrs
curl -sS \
"https://example-data.com/api/v1/agents/8" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/8"
);
const agent = await res.json();import type { Agent } from "https://example-data.com/types/agents.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/agents/8"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/8"
)
agent = res.json() {
"id": 8,
"userId": 250,
"brokerage": "Douglas Elliman",
"licenseNumber": "GDR9DRFF56",
"specialty": "luxury",
"yearsExperience": 7,
"rating": 4.9,
"ratingCount": 142,
"createdAt": "2024-11-29T10:04:46.026Z"
}