example-data.com

people / #135

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/135"
)
people = res.json()
{
  "id": 135,
  "fullName": "Shad Murphy",
  "firstName": "Shad",
  "lastName": "Murphy",
  "email": "shad.murphy-135@example.com",
  "phone": "(884) 205-5471",
  "occupation": "Lead Response Associate",
  "city": "Homenickhaven",
  "countryAlpha2": "DK",
  "bio": "kettledrum devotee  🈵",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-135",
  "createdAt": "2024-01-21T21:03:20.136Z"
}
Draftbit