example-data.com

people / #174

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/174"
)
people = res.json()
{
  "id": 174,
  "fullName": "Lurline Koelpin",
  "firstName": "Lurline",
  "lastName": "Koelpin",
  "email": "lurline.koelpin-174@example.com",
  "phone": "(256) 262-4434",
  "occupation": "International Metrics Liaison",
  "city": "East Orange",
  "countryAlpha2": "NG",
  "bio": "pacemaker lover",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-174",
  "createdAt": "2021-12-19T17:38:38.809Z"
}
Draftbit