example-data.com

people / #41

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/41"
)
people = res.json()
{
  "id": 41,
  "fullName": "Willie Rogahn",
  "firstName": "Willie",
  "lastName": "Rogahn",
  "email": "willie.rogahn-41@example.com",
  "phone": "(864) 334-9135",
  "occupation": "Customer Functionality Representative",
  "city": "Port Kamrenside",
  "countryAlpha2": "SE",
  "bio": "dead supporter",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-41",
  "createdAt": "2021-07-29T04:12:27.327Z"
}
Draftbit