example-data.com

people / #191

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/191"
)
people = res.json()
{
  "id": 191,
  "fullName": "Fern Ward",
  "firstName": "Fern",
  "lastName": "Ward",
  "email": "fern.ward-191@example.com",
  "phone": "(864) 391-7506",
  "occupation": "Dynamic Assurance Architect",
  "city": "Napoleonchester",
  "countryAlpha2": "FJ",
  "bio": "dandelion junkie, creator",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-191",
  "createdAt": "2023-07-02T09:46:08.226Z"
}
Draftbit