example-data.com
Menu
Browse docs and collections

Overview

flashcards / #421

flashcards #421

userId
Oran Torphy @oran_torphy
deckName
Algorithms
front
Voluptatibus perspiciatis auctus approbo
back
Tabula spiritus adsidue tyrannus theca tendo cogito demo terreo defetiscor.
difficulty
hard
lastReviewedAt
nextReviewAt
reviewCount
23
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/flashcards/421" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/flashcards/421"
);
const flashcard = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/flashcards/421"
);
const flashcard = (await res.json()) as Flashcard;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/flashcards/421"
)
flashcard = res.json()

Response

{
  "id": 421,
  "userId": 189,
  "deckName": "Algorithms",
  "front": "Voluptatibus perspiciatis auctus approbo",
  "back": "Tabula spiritus adsidue tyrannus theca tendo cogito demo terreo defetiscor.",
  "difficulty": "hard",
  "lastReviewedAt": "2026-05-12T00:00:00.000Z",
  "nextReviewAt": "2026-05-19T00:00:00.000Z",
  "reviewCount": 23,
  "createdAt": "2026-04-19T17:47:18.710Z"
}