Agent #4
eXp Realty · residential · 29 yrs
agents / #4
eXp Realty · residential · 29 yrs
curl -sS \
"https://example-data.com/api/v1/agents/4" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/4"
);
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/4"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/4"
)
agent = res.json() {
"id": 4,
"userId": 242,
"brokerage": "eXp Realty",
"licenseNumber": "34N9NWRZ46",
"specialty": "residential",
"yearsExperience": 29,
"rating": 3.5,
"ratingCount": 31,
"createdAt": "2021-06-21T16:18:49.279Z"
}