example-data.com
Menu
Browse docs and collections

Overview

stem-figures / #25

Werner Heisenberg

Werner Heisenberg

Sub vir fugiat curtus culpo. Facilis curatio vix tonsor architecto. Ancilla cresco quaerat talio crapula.

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/stem-figures/25" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stem-figures/25"
);
const stemFigure = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/stem-figures.d.ts https://example-data.com/types/stem-figures.d.ts
import type { StemFigure } from "./types/stem-figures";

const res = await fetch(
  "https://example-data.com/api/v1/stem-figures/25"
);
const stemFigure = (await res.json()) as StemFigure;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/stem-figures/25"
)
stem_figure = res.json()

Response

{
  "id": 25,
  "name": "Werner Heisenberg",
  "slug": "werner-heisenberg",
  "field": "science",
  "bio": "Sub vir fugiat curtus culpo. Facilis curatio vix tonsor architecto. Ancilla cresco quaerat talio crapula.",
  "bornYear": 1901,
  "diedYear": 1976,
  "country": "Germany",
  "imageUrl": "https://picsum.photos/seed/stem-25/600/600",
  "accomplishments": [
    "Uncertainty principle",
    "Matrix mechanics"
  ],
  "createdAt": "2026-02-03T18:25:59.641Z"
}