example-data.com

people / #117

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/117"
)
people = res.json()
{
  "id": 117,
  "fullName": "Hazel Reynolds",
  "firstName": "Hazel",
  "lastName": "Reynolds",
  "email": "hazel.reynolds-117@example.com",
  "phone": "(344) 876-1080",
  "occupation": "Product Metrics Supervisor",
  "city": "Hahnport",
  "countryAlpha2": "AT",
  "bio": "cake junkie",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-117",
  "createdAt": "2024-09-30T07:19:39.183Z"
}
Draftbit