example-data.com

people / #107

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/107"
)
people = res.json()
{
  "id": 107,
  "fullName": "Enola Hilll",
  "firstName": "Enola",
  "lastName": "Hilll",
  "email": "enola.hilll-107@example.com",
  "phone": "(957) 359-0836",
  "occupation": "Legacy Mobility Strategist",
  "city": "Fort Geovanyborough",
  "countryAlpha2": "MX",
  "bio": "kick devotee, foodie 🔤",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-107",
  "createdAt": "2023-10-27T07:37:47.220Z"
}
Draftbit