Agent #6
Century 21 · commercial · 0 yrs
agents / #6
Century 21 · commercial · 0 yrs
curl -sS \
"https://example-data.com/api/v1/agents/6" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/6"
);
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/6"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/6"
)
agent = res.json() {
"id": 6,
"userId": 61,
"brokerage": "Century 21",
"licenseNumber": "WVSQDG9HTK",
"specialty": "commercial",
"yearsExperience": 0,
"rating": 4.5,
"ratingCount": 178,
"createdAt": "2022-12-29T12:17:15.777Z"
}