example-data.com
Menu
Browse docs and collections

Overview

flashcards / #240

flashcards #240

userId
Tabitha McKenzie @tabitha_mckenzie
deckName
Vocabulary
front
Coerceo verbera tantum arbor
back
Sub aegrus aegre verus ventus aliquid voluntarius vicissitudo thalassinus cornu.
difficulty
hard
lastReviewedAt
nextReviewAt
reviewCount
10
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 240,
  "userId": 98,
  "deckName": "Vocabulary",
  "front": "Coerceo verbera tantum arbor",
  "back": "Sub aegrus aegre verus ventus aliquid voluntarius vicissitudo thalassinus cornu.",
  "difficulty": "hard",
  "lastReviewedAt": "2026-05-08T00:00:00.000Z",
  "nextReviewAt": "2026-05-25T00:00:00.000Z",
  "reviewCount": 10,
  "createdAt": "2026-05-19T20:05:25.063Z"
}