example-data.com

people / #92

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/92"
)
people = res.json()
{
  "id": 92,
  "fullName": "Darlene Aufderhar",
  "firstName": "Darlene",
  "lastName": "Aufderhar",
  "email": "darlene.aufderhar-92@example.com",
  "phone": "(375) 923-0683",
  "occupation": "International Applications Administrator",
  "city": "Kaylahland",
  "countryAlpha2": "PT",
  "bio": "veteran, singer",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-92",
  "createdAt": "2022-06-11T12:57:28.923Z"
}
Draftbit