example-data.com

people / #66

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/66"
)
people = res.json()
{
  "id": 66,
  "fullName": "Johnpaul Abbott",
  "firstName": "Johnpaul",
  "lastName": "Abbott",
  "email": "johnpaul.abbott-66@example.com",
  "phone": "(638) 267-2148",
  "occupation": "Investor Solutions Representative",
  "city": "Kirlinborough",
  "countryAlpha2": "PK",
  "bio": "vein junkie  🥍",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-66",
  "createdAt": "2024-05-16T12:20:52.776Z"
}
Draftbit