example-data.com

people / #142

Component variants

curl -sS \
  "https://example-data.com/api/v1/people/142" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/people/142"
);
const people = await res.json();
import type { People } from "https://example-data.com/types/people.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/people/142"
);
const people = (await res.json()) as People;
import requests

res = requests.get(
    "https://example-data.com/api/v1/people/142"
)
people = res.json()
{
  "id": 142,
  "fullName": "Corrine Abshire-Smith",
  "firstName": "Corrine",
  "lastName": "Abshire-Smith",
  "email": "corrine.abshiresmith-142@example.com",
  "phone": "(846) 640-5721",
  "occupation": "Direct Web Orchestrator",
  "city": "Shainaview",
  "countryAlpha2": "FI",
  "bio": "activist, environmentalist, environmentalist 👐🏻",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-142",
  "createdAt": "2024-09-09T20:33:59.449Z"
}
Draftbit