example-data.com
Menu
Browse docs and collections

flashcards

flashcards

Page 8 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": 169,
      "userId": 80,
      "deckName": "Math Basics",
      "front": "Aiunt aqua currus curvo ulciscor adulescens tempore adsidue",
      "back": "Terreo ter ara tempore ulciscor eveniet accendo claustrum tandem auditor viduo.",
      "difficulty": "easy",
      "lastReviewedAt": "2026-03-27T00:00:00.000Z",
      "nextReviewAt": "2026-04-23T00:00:00.000Z",
      "reviewCount": 11,
      "createdAt": "2026-02-01T06:30:59.545Z"
    },
    {
      "id": 170,
      "userId": 80,
      "deckName": "Math Basics",
      "front": "Audio termes attonbitus absconditus solio",
      "back": "Defero vergo abduco.",
      "difficulty": "hard",
      "lastReviewedAt": "2026-04-24T00:00:00.000Z",
      "nextReviewAt": "2026-05-06T00:00:00.000Z",
      "reviewCount": 1,
      "createdAt": "2026-03-20T17:16:59.565Z"
    },
    {
      "id": 171,
      "userId": 80,
      "deckName": "Math Basics",
      "front": "Cogito amaritudo vorax crepusculum",
      "back": "Verus voluptatem vox defluo ventito audacia communis saepe.",
      "difficulty": "easy",
      "lastReviewedAt": "2026-03-28T00:00:00.000Z",
      "nextReviewAt": "2026-04-23T00:00:00.000Z",
      "reviewCount": 8,
      "createdAt": "2025-09-30T08:43:05.038Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 526,
    "totalPages": 22
  },
  "links": {
    "self": "/api/v1/flashcards?page=8&limit=24",
    "first": "/api/v1/flashcards?page=1&limit=24",
    "last": "/api/v1/flashcards?page=22&limit=24",
    "next": "/api/v1/flashcards?page=9&limit=24",
    "prev": "/api/v1/flashcards?page=7&limit=24"
  }
}