example-data.com

people / #116

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/116"
)
people = res.json()
{
  "id": 116,
  "fullName": "Rosa Welch",
  "firstName": "Rosa",
  "lastName": "Welch",
  "email": "rosa.welch-116@example.com",
  "phone": "(444) 228-8003",
  "occupation": "Regional Accounts Orchestrator",
  "city": "Rapid City",
  "countryAlpha2": "NZ",
  "bio": "cop-out devotee, engineer ♏",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-116",
  "createdAt": "2024-10-01T12:08:49.590Z"
}
Draftbit