example-data.com

agents / #21

Agent #21

Douglas Elliman · rental · 6 yrs

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/agents/21" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/agents/21"
);
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/21"
);
const agent = (await res.json()) as Agent;
import requests

res = requests.get(
    "https://example-data.com/api/v1/agents/21"
)
agent = res.json()
{
  "id": 21,
  "userId": 223,
  "brokerage": "Douglas Elliman",
  "licenseNumber": "YDD8P7DQ7K",
  "specialty": "rental",
  "yearsExperience": 6,
  "rating": 4.5,
  "ratingCount": 142,
  "createdAt": "2022-12-19T20:08:58.381Z"
}
Draftbit