example-data.com

people / #100

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/100"
)
people = res.json()
{
  "id": 100,
  "fullName": "Jamar Fisher",
  "firstName": "Jamar",
  "lastName": "Fisher",
  "email": "jamar.fisher-100@example.com",
  "phone": "(435) 972-3836",
  "occupation": "Internal Marketing Producer",
  "city": "Lake Breana",
  "countryAlpha2": "ET",
  "bio": "futon advocate, inventor 🟧",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-100",
  "createdAt": "2023-03-01T06:00:09.540Z"
}
Draftbit