example-data.com
Menu
Browse docs and collections

Overview

flashcards / #244

flashcards #244

userId
Rosina Larkin @rosina.larkin75
deckName
Algorithms
front
Vitae tergeo suus tabernus venia ascisco
back
Cerno theca combibo.
difficulty
hard
lastReviewedAt
nextReviewAt
reviewCount
15
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 244,
  "userId": 103,
  "deckName": "Algorithms",
  "front": "Vitae tergeo suus tabernus venia ascisco",
  "back": "Cerno theca combibo.",
  "difficulty": "hard",
  "lastReviewedAt": "2026-05-10T00:00:00.000Z",
  "nextReviewAt": "2026-06-08T00:00:00.000Z",
  "reviewCount": 15,
  "createdAt": "2026-03-24T01:31:28.413Z"
}