example-data.com

people / #35

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/35"
)
people = res.json()
{
  "id": 35,
  "fullName": "Joannie Volkman",
  "firstName": "Joannie",
  "lastName": "Volkman",
  "email": "joannie.volkman-35@example.com",
  "phone": "(547) 333-6415",
  "occupation": "Forward Division Assistant",
  "city": "East Edwin",
  "countryAlpha2": "PL",
  "bio": "hydrocarbon devotee, traveler",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-35",
  "createdAt": "2021-11-25T22:41:08.631Z"
}
Draftbit