example-data.com

people / #133

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/133"
)
people = res.json()
{
  "id": 133,
  "fullName": "Torey Ebert",
  "firstName": "Torey",
  "lastName": "Ebert",
  "email": "torey.ebert-133@example.com",
  "phone": "(320) 904-3570",
  "occupation": "Internal Interactions Specialist",
  "city": "South Travon",
  "countryAlpha2": "PE",
  "bio": "linseed devotee, philosopher 🖖🏿",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-133",
  "createdAt": "2021-06-09T11:29:19.967Z"
}
Draftbit