example-data.com

people / #167

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/167"
)
people = res.json()
{
  "id": 167,
  "fullName": "Dedric Daugherty",
  "firstName": "Dedric",
  "lastName": "Daugherty",
  "email": "dedric.daugherty-167@example.com",
  "phone": "(922) 479-3819",
  "occupation": "Product Applications Liaison",
  "city": "Lake Deondrechester",
  "countryAlpha2": "AE",
  "bio": "skeleton devotee  🇳🇿",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-167",
  "createdAt": "2024-09-26T16:25:26.194Z"
}
Draftbit