example-data.com

people / #45

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/45"
)
people = res.json()
{
  "id": 45,
  "fullName": "Evert Bailey",
  "firstName": "Evert",
  "lastName": "Bailey",
  "email": "evert.bailey-45@example.com",
  "phone": "(607) 806-5599",
  "occupation": "Human Response Supervisor",
  "city": "Keller",
  "countryAlpha2": "IL",
  "bio": "alb enthusiast",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-45",
  "createdAt": "2023-08-29T02:07:36.405Z"
}
Draftbit