example-data.com

people / #178

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/178"
)
people = res.json()
{
  "id": 178,
  "fullName": "Angelica Greenholt",
  "firstName": "Angelica",
  "lastName": "Greenholt",
  "email": "angelica.greenholt-178@example.com",
  "phone": "(377) 416-6468",
  "occupation": "Internal Quality Agent",
  "city": "Hazlefield",
  "countryAlpha2": "CA",
  "bio": "filmmaker, streamer",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-178",
  "createdAt": "2022-10-04T18:18:57.373Z"
}
Draftbit