example-data.com

people / #197

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/197"
)
people = res.json()
{
  "id": 197,
  "fullName": "Nathanial Mraz",
  "firstName": "Nathanial",
  "lastName": "Mraz",
  "email": "nathanial.mraz-197@example.com",
  "phone": "(717) 474-9767",
  "occupation": "Lead Security Analyst",
  "city": "Domenickport",
  "countryAlpha2": "AE",
  "bio": "developer",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-197",
  "createdAt": "2021-11-23T21:23:33.331Z"
}
Draftbit