example-data.com
Menu
Browse docs and collections

Overview

flashcards / #343

flashcards #343

userId
Hershel Smitham @hershel.smitham
deckName
Math Basics
front
Tres umbra tertius ad aeneus comis contra
back
Derideo suasoria barba.
difficulty
easy
lastReviewedAt
nextReviewAt
reviewCount
8
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 343,
  "userId": 147,
  "deckName": "Math Basics",
  "front": "Tres umbra tertius ad aeneus comis contra",
  "back": "Derideo suasoria barba.",
  "difficulty": "easy",
  "lastReviewedAt": "2026-05-15T00:00:00.000Z",
  "nextReviewAt": "2026-05-17T00:00:00.000Z",
  "reviewCount": 8,
  "createdAt": "2026-04-04T07:40:02.825Z"
}