Agent #36
RE/MAX · land · 10 yrs
curl -sS \
"https://example-data.com/api/v1/agents/36" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/36"
);
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/36"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/36"
)
agent = res.json() {
"id": 36,
"userId": 30,
"brokerage": "RE/MAX",
"licenseNumber": "XZO3ULU24X",
"specialty": "land",
"yearsExperience": 10,
"rating": 4.6,
"ratingCount": 168,
"createdAt": "2019-02-16T14:28:08.251Z"
}