Agent #33
Century 21 · commercial · 25 yrs
Overview
agents / #33
Century 21 · commercial · 25 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/33" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/33" ); const agent = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/agents.d.ts https://example-data.com/types/agents.d.ts
import type { Agent } from "./types/agents";
const res = await fetch(
"https://example-data.com/api/v1/agents/33"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/33"
)
agent = res.json() Response
{
"id": 33,
"userId": 97,
"brokerage": "Century 21",
"licenseNumber": "81MV2QLAEG",
"specialty": "commercial",
"yearsExperience": 25,
"rating": 3.6,
"ratingCount": 39,
"createdAt": "2018-03-29T00:07:18.566Z"
}