example-data.com

people / #98

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/98"
)
people = res.json()
{
  "id": 98,
  "fullName": "Merle Cassin",
  "firstName": "Merle",
  "lastName": "Cassin",
  "email": "merle.cassin-98@example.com",
  "phone": "(586) 752-8808",
  "occupation": "Human Branding Manager",
  "city": "North Wilburncester",
  "countryAlpha2": "NO",
  "bio": "model",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-98",
  "createdAt": "2022-10-23T19:44:28.964Z"
}
Draftbit