example-data.com

people / #15

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/15"
)
people = res.json()
{
  "id": 15,
  "fullName": "Demarco Hammes",
  "firstName": "Demarco",
  "lastName": "Hammes",
  "email": "demarco.hammes-15@example.com",
  "phone": "(248) 875-5609",
  "occupation": "Lead Creative Facilitator",
  "city": "East Brandi",
  "countryAlpha2": "BR",
  "bio": "geek",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-15",
  "createdAt": "2023-08-07T13:48:08.579Z"
}
Draftbit