example-data.com

people / #93

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/people/93"
)
people = res.json()
{
  "id": 93,
  "fullName": "Tevin Rath",
  "firstName": "Tevin",
  "lastName": "Rath",
  "email": "tevin.rath-93@example.com",
  "phone": "(447) 662-6227",
  "occupation": "Customer Accounts Administrator",
  "city": "New Hazle",
  "countryAlpha2": "BR",
  "bio": "interviewer devotee, geek ☂️",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-93",
  "createdAt": "2022-02-19T23:39:36.809Z"
}
Draftbit