example-data.com

people / #84

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/84"
)
people = res.json()
{
  "id": 84,
  "fullName": "Jason Lemke",
  "firstName": "Jason",
  "lastName": "Lemke",
  "email": "jason.lemke-84@example.com",
  "phone": "(642) 314-6180",
  "occupation": "Lead Integration Facilitator",
  "city": "Dannyport",
  "countryAlpha2": "CO",
  "bio": "streamer, public speaker, dreamer 💿",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-84",
  "createdAt": "2024-06-13T16:26:17.851Z"
}
Draftbit