example-data.com

people / #14

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/14"
)
people = res.json()
{
  "id": 14,
  "fullName": "Priscilla McKenzie",
  "firstName": "Priscilla",
  "lastName": "McKenzie",
  "email": "priscilla.mckenzie-14@example.com",
  "phone": "(939) 743-4992",
  "occupation": "Lead Optimization Executive",
  "city": "Port Jordyn",
  "countryAlpha2": "BE",
  "bio": "public speaker, inventor, foodie 🏓",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-14",
  "createdAt": "2021-05-29T03:15:36.964Z"
}
Draftbit