Agent #50
Keller Williams · land · 18 yrs
Overview
agents / #50
Keller Williams · land · 18 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/50" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/50" ); 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/50"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/50"
)
agent = res.json() Response
{
"id": 50,
"userId": 235,
"brokerage": "Keller Williams",
"licenseNumber": "L5UZJ6RCMY",
"specialty": "land",
"yearsExperience": 18,
"rating": 4.5,
"ratingCount": 23,
"createdAt": "2020-02-18T02:50:44.526Z"
}