example-data.com

people / #95

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/95"
)
people = res.json()
{
  "id": 95,
  "fullName": "Jensen Greenholt",
  "firstName": "Jensen",
  "lastName": "Greenholt",
  "email": "jensen.greenholt-95@example.com",
  "phone": "(308) 466-3866",
  "occupation": "Chief Paradigm Assistant",
  "city": "Seamusshire",
  "countryAlpha2": "KE",
  "bio": "window fan",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-95",
  "createdAt": "2024-01-09T06:47:25.312Z"
}
Draftbit