Agent #47
Century 21 · luxury · 6 yrs
agents / #47
Century 21 · luxury · 6 yrs
curl -sS \
"https://example-data.com/api/v1/agents/47" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/47"
);
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/47"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/47"
)
agent = res.json() {
"id": 47,
"userId": 218,
"brokerage": "Century 21",
"licenseNumber": "UEHRM3HW3D",
"specialty": "luxury",
"yearsExperience": 6,
"rating": 3.1,
"ratingCount": 66,
"createdAt": "2023-01-05T08:34:17.599Z"
}