example-data.com

people / #149

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/149"
)
people = res.json()
{
  "id": 149,
  "fullName": "Rhianna Mitchell",
  "firstName": "Rhianna",
  "lastName": "Mitchell",
  "email": "rhianna.mitchell-149@example.com",
  "phone": "(500) 256-4814",
  "occupation": "National Directives Engineer",
  "city": "Jefferson City",
  "countryAlpha2": "CA",
  "bio": "going devotee",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-149",
  "createdAt": "2022-07-21T11:20:40.407Z"
}
Draftbit