example-data.com

people / #109

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/109"
)
people = res.json()
{
  "id": 109,
  "fullName": "Cornelius Prohaska",
  "firstName": "Cornelius",
  "lastName": "Prohaska",
  "email": "cornelius.prohaska-109@example.com",
  "phone": "(522) 206-2724",
  "occupation": "Senior Optimization Consultant",
  "city": "Revafield",
  "countryAlpha2": "FI",
  "bio": "arcade devotee, designer 💱",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-109",
  "createdAt": "2022-08-19T20:58:23.080Z"
}
Draftbit