example-data.com

people / #181

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/181"
)
people = res.json()
{
  "id": 181,
  "fullName": "Mohamed Dach",
  "firstName": "Mohamed",
  "lastName": "Dach",
  "email": "mohamed.dach-181@example.com",
  "phone": "(868) 207-0601",
  "occupation": "Future Operations Executive",
  "city": "Michelborough",
  "countryAlpha2": "AU",
  "bio": "teacher",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-181",
  "createdAt": "2023-05-07T20:30:06.496Z"
}
Draftbit