example-data.com

people / #61

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/61"
)
people = res.json()
{
  "id": 61,
  "fullName": "Ottilie Jenkins",
  "firstName": "Ottilie",
  "lastName": "Jenkins",
  "email": "ottilie.jenkins-61@example.com",
  "phone": "(382) 909-9964",
  "occupation": "Principal Directives Facilitator",
  "city": "Doral",
  "countryAlpha2": "FR",
  "bio": "scientist",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-61",
  "createdAt": "2023-12-02T17:58:20.248Z"
}
Draftbit