Agent #11
Sotheby's International Realty · rental · 33 yrs
Overview
agents / #11
Sotheby's International Realty · rental · 33 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/11" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/11" ); 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/11"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/11"
)
agent = res.json() Response
{
"id": 11,
"userId": 152,
"brokerage": "Sotheby's International Realty",
"licenseNumber": "ENGCK6PL68",
"specialty": "rental",
"yearsExperience": 33,
"rating": 3.5,
"ratingCount": 46,
"createdAt": "2019-04-12T02:36:04.055Z"
}