Agent #41
eXp Realty · commercial · 33 yrs
agents / #41
eXp Realty · commercial · 33 yrs
curl -sS \
"https://example-data.com/api/v1/agents/41" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/41"
);
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/41"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/41"
)
agent = res.json() {
"id": 41,
"userId": 220,
"brokerage": "eXp Realty",
"licenseNumber": "6RMDQD2WOK",
"specialty": "commercial",
"yearsExperience": 33,
"rating": 4.4,
"ratingCount": 45,
"createdAt": "2018-09-13T09:32:31.562Z"
}