Agent #29
Century 21 · residential · 11 yrs
agents / #29
Century 21 · residential · 11 yrs
curl -sS \
"https://example-data.com/api/v1/agents/29" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/29"
);
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/29"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/29"
)
agent = res.json() {
"id": 29,
"userId": 5,
"brokerage": "Century 21",
"licenseNumber": "UGSKYYGCYR",
"specialty": "residential",
"yearsExperience": 11,
"rating": 3.6,
"ratingCount": 39,
"createdAt": "2020-12-13T05:55:44.657Z"
}