example-data.com

people / #104

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/104"
)
people = res.json()
{
  "id": 104,
  "fullName": "Junior Daugherty-Greenholt",
  "firstName": "Junior",
  "lastName": "Daugherty-Greenholt",
  "email": "junior.daughertygreenholt-104@example.com",
  "phone": "(440) 441-0532",
  "occupation": "Global Factors Manager",
  "city": "Port Daphneecester",
  "countryAlpha2": "IN",
  "bio": "leader, leader, geek",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-104",
  "createdAt": "2024-03-30T00:08:29.851Z"
}
Draftbit