example-data.com

people / #165

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/165"
)
people = res.json()
{
  "id": 165,
  "fullName": "Nelson Denesik",
  "firstName": "Nelson",
  "lastName": "Denesik",
  "email": "nelson.denesik-165@example.com",
  "phone": "(790) 500-0887",
  "occupation": "Senior Factors Orchestrator",
  "city": "Starkville",
  "countryAlpha2": "NL",
  "bio": "reporter advocate, model 🔩",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-165",
  "createdAt": "2021-08-03T06:48:37.586Z"
}
Draftbit