example-data.com

people / #71

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/71"
)
people = res.json()
{
  "id": 71,
  "fullName": "Chauncey Runolfsdottir",
  "firstName": "Chauncey",
  "lastName": "Runolfsdottir",
  "email": "chauncey.runolfsdottir-71@example.com",
  "phone": "(231) 979-3435",
  "occupation": "Corporate Identity Coordinator",
  "city": "Kelsifurt",
  "countryAlpha2": "KR",
  "bio": "hovel lover  🛍️",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-71",
  "createdAt": "2023-10-07T00:37:10.007Z"
}
Draftbit