flashcards
flashcards
Page 20 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": 457,
"userId": 224,
"deckName": "Music Theory",
"front": "Comburo delectatio alii balbus incidunt minus saepe",
"back": "Cognomen amplexus conatus conculco corrigo stabilis excepturi.",
"difficulty": "easy",
"lastReviewedAt": "2026-03-29T00:00:00.000Z",
"nextReviewAt": "2026-04-23T00:00:00.000Z",
"reviewCount": 5,
"createdAt": "2026-03-30T15:02:13.410Z"
},
{
"id": 458,
"userId": 224,
"deckName": "Music Theory",
"front": "Aduro adamo depopulo maxime eveniet ago",
"back": "Nemo arto placeat trado adiuvo aer subiungo quisquam.",
"difficulty": "hard",
"lastReviewedAt": "2026-04-30T00:00:00.000Z",
"nextReviewAt": "2026-05-02T00:00:00.000Z",
"reviewCount": 23,
"createdAt": "2025-11-22T11:51:41.196Z"
},
{
"id": 459,
"userId": 224,
"deckName": "Music Theory",
"front": "Curvo unus confido audio",
"back": "Acerbitas solum nobis ars volo vomito ars amita.",
"difficulty": "hard",
"lastReviewedAt": "2026-04-24T00:00:00.000Z",
"nextReviewAt": "2026-05-14T00:00:00.000Z",
"reviewCount": 4,
"createdAt": "2025-06-21T01:38:44.935Z"
}
],
"meta": {
"page": 20,
"limit": 24,
"total": 526,
"totalPages": 22
},
"links": {
"self": "/api/v1/flashcards?page=20&limit=24",
"first": "/api/v1/flashcards?page=1&limit=24",
"last": "/api/v1/flashcards?page=22&limit=24",
"next": "/api/v1/flashcards?page=21&limit=24",
"prev": "/api/v1/flashcards?page=19&limit=24"
}
}