example-data.com

people / #38

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/38"
)
people = res.json()
{
  "id": 38,
  "fullName": "Elody Tromp",
  "firstName": "Elody",
  "lastName": "Tromp",
  "email": "elody.tromp-38@example.com",
  "phone": "(856) 772-7617",
  "occupation": "Lead Applications Representative",
  "city": "North Dorcasshire",
  "countryAlpha2": "MX",
  "bio": "grad",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-38",
  "createdAt": "2023-01-20T06:22:43.542Z"
}
Draftbit