Agent #16
Redfin · commercial · 3 yrs
agents / #16
Redfin · commercial · 3 yrs
curl -sS \
"https://example-data.com/api/v1/agents/16" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/16"
);
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/16"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/16"
)
agent = res.json() {
"id": 16,
"userId": 194,
"brokerage": "Redfin",
"licenseNumber": "E1UP47ATL6",
"specialty": "commercial",
"yearsExperience": 3,
"rating": 3.5,
"ratingCount": 2,
"createdAt": "2021-05-31T18:31:52.403Z"
}