Agent #48
Douglas Elliman · luxury · 20 yrs
agents / #48
Douglas Elliman · luxury · 20 yrs
curl -sS \
"https://example-data.com/api/v1/agents/48" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/48"
);
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/48"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/48"
)
agent = res.json() {
"id": 48,
"userId": 23,
"brokerage": "Douglas Elliman",
"licenseNumber": "OWSNEFRDRZ",
"specialty": "luxury",
"yearsExperience": 20,
"rating": 4.5,
"ratingCount": 272,
"createdAt": "2020-03-30T20:57:01.727Z"
}