flashcards
flashcards
Page 15 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": 337,
"userId": 147,
"deckName": "Vocabulary",
"front": "Vulgus anser dolor ter",
"back": "Curiositas esse damnatio auctor cauda cupiditas.",
"difficulty": "easy",
"lastReviewedAt": "2026-04-16T00:00:00.000Z",
"nextReviewAt": "2026-04-24T00:00:00.000Z",
"reviewCount": 19,
"createdAt": "2026-04-02T20:27:18.357Z"
},
{
"id": 338,
"userId": 147,
"deckName": "Math Basics",
"front": "Exercitationem caecus degero cito adeo vomito",
"back": "Creptio animus ait traho tredecim adipiscor copia spoliatio.",
"difficulty": "easy",
"lastReviewedAt": "2026-04-01T00:00:00.000Z",
"nextReviewAt": "2026-04-04T00:00:00.000Z",
"reviewCount": 22,
"createdAt": "2026-03-07T00:04:12.181Z"
},
{
"id": 339,
"userId": 147,
"deckName": "Math Basics",
"front": "Suscipit advenio dedico eum cado",
"back": "Laboriosam aeneus cotidie culpa circumvenio ager.",
"difficulty": "hard",
"lastReviewedAt": "2026-04-03T00:00:00.000Z",
"nextReviewAt": "2026-04-21T00:00:00.000Z",
"reviewCount": 7,
"createdAt": "2026-01-14T20:19:58.842Z"
}
],
"meta": {
"page": 15,
"limit": 24,
"total": 526,
"totalPages": 22
},
"links": {
"self": "/api/v1/flashcards?page=15&limit=24",
"first": "/api/v1/flashcards?page=1&limit=24",
"last": "/api/v1/flashcards?page=22&limit=24",
"next": "/api/v1/flashcards?page=16&limit=24",
"prev": "/api/v1/flashcards?page=14&limit=24"
}
}