example-data.com

people / #39

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/39"
)
people = res.json()
{
  "id": 39,
  "fullName": "Retta Hirthe-Rutherford",
  "firstName": "Retta",
  "lastName": "Hirthe-Rutherford",
  "email": "retta.hirtherutherford-39@example.com",
  "phone": "(742) 933-3774",
  "occupation": "International Communications Manager",
  "city": "West Jovanishire",
  "countryAlpha2": "PK",
  "bio": "grad",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-39",
  "createdAt": "2022-11-16T03:42:00.013Z"
}
Draftbit