example-data.com

people / #58

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/58"
)
people = res.json()
{
  "id": 58,
  "fullName": "Haylie Cruickshank",
  "firstName": "Haylie",
  "lastName": "Cruickshank",
  "email": "haylie.cruickshank-58@example.com",
  "phone": "(361) 456-2088",
  "occupation": "Internal Creative Officer",
  "city": "Port Darrell",
  "countryAlpha2": "AR",
  "bio": "louse enthusiast  🐐",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-58",
  "createdAt": "2021-08-27T09:29:30.918Z"
}
Draftbit