example-data.com

people / #108

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/108"
)
people = res.json()
{
  "id": 108,
  "fullName": "Newell Johnson",
  "firstName": "Newell",
  "lastName": "Johnson",
  "email": "newell.johnson-108@example.com",
  "phone": "(464) 282-8227",
  "occupation": "Customer Assurance Planner",
  "city": "New Brunswick",
  "countryAlpha2": "PH",
  "bio": "founder, singer, singer",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-108",
  "createdAt": "2021-09-27T03:48:06.626Z"
}
Draftbit