flashcards
flashcards
Page 6 of 22.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flashcards?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/flashcards?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/flashcards";
const res = await fetch(
"https://example-data.com/api/v1/flashcards?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Flashcard>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flashcards",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 121,
"userId": 55,
"deckName": "Anatomy",
"front": "Vestrum consequatur cado sunt",
"back": "Thorax charisma adicio tui blanditiis argumentum ab expedita.",
"difficulty": "easy",
"lastReviewedAt": "2026-05-06T00:00:00.000Z",
"nextReviewAt": "2026-05-16T00:00:00.000Z",
"reviewCount": 8,
"createdAt": "2026-04-18T23:05:34.539Z"
},
{
"id": 122,
"userId": 55,
"deckName": "Anatomy",
"front": "Terga communis auditor cornu quo expedita ager ambitus",
"back": "Vulgo suadeo adsuesco turpis adhuc.",
"difficulty": "medium",
"lastReviewedAt": "2026-03-28T00:00:00.000Z",
"nextReviewAt": "2026-03-30T00:00:00.000Z",
"reviewCount": 7,
"createdAt": "2025-09-10T05:37:52.541Z"
},
{
"id": 123,
"userId": 55,
"deckName": "Spanish Verbs",
"front": "Alienus vulpes territo",
"back": "Conforto thorax conculco argentum adimpleo accendo.",
"difficulty": "hard",
"lastReviewedAt": "2026-05-09T00:00:00.000Z",
"nextReviewAt": "2026-06-01T00:00:00.000Z",
"reviewCount": 15,
"createdAt": "2026-02-12T03:24:28.476Z"
}
],
"meta": {
"page": 6,
"limit": 24,
"total": 526,
"totalPages": 22
},
"links": {
"self": "/api/v1/flashcards?page=6&limit=24",
"first": "/api/v1/flashcards?page=1&limit=24",
"last": "/api/v1/flashcards?page=22&limit=24",
"next": "/api/v1/flashcards?page=7&limit=24",
"prev": "/api/v1/flashcards?page=5&limit=24"
}
}