example-data.com

people / #76

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/76"
)
people = res.json()
{
  "id": 76,
  "fullName": "Evan Torphy",
  "firstName": "Evan",
  "lastName": "Torphy",
  "email": "evan.torphy-76@example.com",
  "phone": "(216) 714-0749",
  "occupation": "Investor Tactics Coordinator",
  "city": "Lambertworth",
  "countryAlpha2": "AE",
  "bio": "artist, person, activist 🥋",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-76",
  "createdAt": "2023-02-12T19:28:43.486Z"
}
Draftbit