example-data.com

people / #190

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/190"
)
people = res.json()
{
  "id": 190,
  "fullName": "Yasmin Schulist",
  "firstName": "Yasmin",
  "lastName": "Schulist",
  "email": "yasmin.schulist-190@example.com",
  "phone": "(512) 309-8255",
  "occupation": "Forward Operations Specialist",
  "city": "Lake Dorothea",
  "countryAlpha2": "AE",
  "bio": "citizen devotee  🏤",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-190",
  "createdAt": "2021-12-01T15:42:32.344Z"
}
Draftbit