example-data.com
Menu
Browse docs and collections

Overview

stem-figures / #32

Bianka Schmeler

Bianka Schmeler

Teres pecus ago ducimus subito thema. Voveo deleniti tergiversatio vesica aliquid volutabrum repellat causa copia suppellex. Quibusdam taceo nulla cur volva.

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stem-figures/32"
);
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/32"
);
const stemFigure = (await res.json()) as StemFigure;

Python example

import requests

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

Response

{
  "id": 32,
  "name": "Bianka Schmeler",
  "slug": "bianka-schmeler",
  "field": "technology",
  "bio": "Teres pecus ago ducimus subito thema. Voveo deleniti tergiversatio vesica aliquid volutabrum repellat causa copia suppellex. Quibusdam taceo nulla cur volva.",
  "bornYear": 1912,
  "diedYear": null,
  "country": "Uzbekistan",
  "imageUrl": "https://picsum.photos/seed/stem-32/600/600",
  "accomplishments": [
    "Adfectus taceo creta sublime carpo aranea.",
    "Possimus recusandae abscido socius tabula terreo."
  ],
  "createdAt": "2024-07-12T02:00:33.474Z"
}