example-data.com

people / #118

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/118"
)
people = res.json()
{
  "id": 118,
  "fullName": "Katharina McClure",
  "firstName": "Katharina",
  "lastName": "McClure",
  "email": "katharina.mcclure-118@example.com",
  "phone": "(559) 663-8137",
  "occupation": "Lead Marketing Representative",
  "city": "Fort Sofia",
  "countryAlpha2": "CA",
  "bio": "traveler, author, creator 👌🏿",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-118",
  "createdAt": "2024-07-10T23:09:32.122Z"
}
Draftbit