example-data.com

people / #51

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/51"
)
people = res.json()
{
  "id": 51,
  "fullName": "Shanie Kuhic",
  "firstName": "Shanie",
  "lastName": "Kuhic",
  "email": "shanie.kuhic-51@example.com",
  "phone": "(864) 670-5783",
  "occupation": "International Security Producer",
  "city": "Kundeton",
  "countryAlpha2": "AU",
  "bio": "person",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-51",
  "createdAt": "2023-06-01T17:16:08.397Z"
}
Draftbit