example-data.com

people / #141

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/141"
)
people = res.json()
{
  "id": 141,
  "fullName": "Beulah Donnelly",
  "firstName": "Beulah",
  "lastName": "Donnelly",
  "email": "beulah.donnelly-141@example.com",
  "phone": "(650) 748-4514",
  "occupation": "Product Assurance Designer",
  "city": "Lodi",
  "countryAlpha2": "BR",
  "bio": "confusion fan, nerd",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-141",
  "createdAt": "2024-10-14T07:50:42.924Z"
}
Draftbit