Agent #2
RE/MAX · residential · 2 yrs
agents / #2
RE/MAX · residential · 2 yrs
curl -sS \
"https://example-data.com/api/v1/agents/2" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/2"
);
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/2"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/2"
)
agent = res.json() {
"id": 2,
"userId": 135,
"brokerage": "RE/MAX",
"licenseNumber": "5S488SFLBR",
"specialty": "residential",
"yearsExperience": 2,
"rating": 3.9,
"ratingCount": 211,
"createdAt": "2022-02-05T06:11:12.579Z"
}