example-data.com
Menu
Browse docs and collections

Overview

flashcards / #422

flashcards #422

userId
Oran Torphy @oran_torphy
deckName
Algorithms
front
Allatus aspicio vado vallum amitto amo
back
Eveniet vinitor adaugeo altus calamitas.
difficulty
easy
lastReviewedAt
nextReviewAt
reviewCount
7
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/flashcards/422"
);
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/422"
);
const flashcard = (await res.json()) as Flashcard;

Python example

import requests

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

Response

{
  "id": 422,
  "userId": 189,
  "deckName": "Algorithms",
  "front": "Allatus aspicio vado vallum amitto amo",
  "back": "Eveniet vinitor adaugeo altus calamitas.",
  "difficulty": "easy",
  "lastReviewedAt": "2026-04-06T00:00:00.000Z",
  "nextReviewAt": "2026-04-12T00:00:00.000Z",
  "reviewCount": 7,
  "createdAt": "2026-03-27T02:15:45.292Z"
}