Agent #45
Douglas Elliman · luxury · 31 yrs
agents / #45
Douglas Elliman · luxury · 31 yrs
curl -sS \
"https://example-data.com/api/v1/agents/45" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/45"
);
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/45"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/45"
)
agent = res.json() {
"id": 45,
"userId": 21,
"brokerage": "Douglas Elliman",
"licenseNumber": "CTN9W2E4KJ",
"specialty": "luxury",
"yearsExperience": 31,
"rating": 3.8,
"ratingCount": 133,
"createdAt": "2019-01-16T05:14:41.003Z"
}