Agent #44
Coldwell Banker · rental · 4 yrs
agents / #44
Coldwell Banker · rental · 4 yrs
curl -sS \
"https://example-data.com/api/v1/agents/44" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/44"
);
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/44"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/44"
)
agent = res.json() {
"id": 44,
"userId": 161,
"brokerage": "Coldwell Banker",
"licenseNumber": "EIO67WUS5L",
"specialty": "rental",
"yearsExperience": 4,
"rating": 4,
"ratingCount": 82,
"createdAt": "2024-05-24T07:15:06.970Z"
}