example-data.com

people / #91

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/91"
)
people = res.json()
{
  "id": 91,
  "fullName": "Eloisa Wolf-Torp",
  "firstName": "Eloisa",
  "lastName": "Wolf-Torp",
  "email": "eloisa.wolftorp-91@example.com",
  "phone": "(367) 617-8140",
  "occupation": "Dynamic Intranet Agent",
  "city": "Weimannhaven",
  "countryAlpha2": "NL",
  "bio": "abacus supporter  ⛪",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-91",
  "createdAt": "2022-06-22T05:21:46.540Z"
}
Draftbit