Agent #17
Douglas Elliman · rental · 7 yrs
agents / #17
Douglas Elliman · rental · 7 yrs
curl -sS \
"https://example-data.com/api/v1/agents/17" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/17"
);
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/17"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/17"
)
agent = res.json() {
"id": 17,
"userId": 38,
"brokerage": "Douglas Elliman",
"licenseNumber": "4K82LAN51X",
"specialty": "rental",
"yearsExperience": 7,
"rating": 4.4,
"ratingCount": 143,
"createdAt": "2022-04-22T00:13:37.051Z"
}