example-data.com

people / #177

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/177"
)
people = res.json()
{
  "id": 177,
  "fullName": "Katlynn Kunde",
  "firstName": "Katlynn",
  "lastName": "Kunde",
  "email": "katlynn.kunde-177@example.com",
  "phone": "(896) 949-2827",
  "occupation": "District Tactics Engineer",
  "city": "Lake Karinefort",
  "countryAlpha2": "TH",
  "bio": "ferret devotee",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-177",
  "createdAt": "2021-09-01T03:56:25.586Z"
}
Draftbit