Agent #43
RE/MAX · residential · 3 yrs
agents / #43
RE/MAX · residential · 3 yrs
curl -sS \
"https://example-data.com/api/v1/agents/43" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/43"
);
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/43"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/43"
)
agent = res.json() {
"id": 43,
"userId": 24,
"brokerage": "RE/MAX",
"licenseNumber": "PZUK5UES8R",
"specialty": "residential",
"yearsExperience": 3,
"rating": 3,
"ratingCount": 155,
"createdAt": "2016-08-15T19:40:55.739Z"
}