example-data.com

people / #130

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/130"
)
people = res.json()
{
  "id": 130,
  "fullName": "Anastacio Huels-Ledner",
  "firstName": "Anastacio",
  "lastName": "Huels-Ledner",
  "email": "anastacio.huelsledner-130@example.com",
  "phone": "(785) 234-2967",
  "occupation": "Direct Accountability Technician",
  "city": "Lehigh Acres",
  "countryAlpha2": "IS",
  "bio": "singer, friend",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-130",
  "createdAt": "2022-12-20T20:01:07.077Z"
}
Draftbit