Agent #9
RE/MAX · residential · 8 yrs
curl -sS \
"https://example-data.com/api/v1/agents/9" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/9"
);
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/9"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/9"
)
agent = res.json() {
"id": 9,
"userId": 168,
"brokerage": "RE/MAX",
"licenseNumber": "1VRVL1NZL1",
"specialty": "residential",
"yearsExperience": 8,
"rating": 4.1,
"ratingCount": 260,
"createdAt": "2023-07-19T03:38:00.193Z"
}