example-data.com

people / #8

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/8"
)
people = res.json()
{
  "id": 8,
  "fullName": "Ben Haag",
  "firstName": "Ben",
  "lastName": "Haag",
  "email": "ben.haag-8@example.com",
  "phone": "(352) 713-8671",
  "occupation": "International Group Supervisor",
  "city": "Lake Ronaldoview",
  "countryAlpha2": "DE",
  "bio": "characterization devotee",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-8",
  "createdAt": "2021-05-23T19:07:39.274Z"
}
Draftbit