Agent #42
Century 21 · commercial · 21 yrs
agents / #42
Century 21 · commercial · 21 yrs
curl -sS \
"https://example-data.com/api/v1/agents/42" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/42"
);
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/42"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/42"
)
agent = res.json() {
"id": 42,
"userId": 200,
"brokerage": "Century 21",
"licenseNumber": "FZVOZFIPI6",
"specialty": "commercial",
"yearsExperience": 21,
"rating": 3,
"ratingCount": 299,
"createdAt": "2019-05-05T16:28:02.168Z"
}