Naar de inhoud
GET /v1/book

A book overview

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/wikibooks-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/wikibooks-api/v1/book" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wikibooks-api/v1/book", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wikibooks-api/v1/book");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/wikibooks-api/v1/book",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "book": {
            "url": "https://en.wikibooks.org/wiki/Python_Programming",
            "title": "Python Programming",
            "overview": "This book describes Python, an open-source general-purpose interpreted programming language available for the most popular  operating systems. The current versions are 3.x while versions 2.x are no longer supported, since 2020. This book describes primarily the versions 3.x, but does at times reference versions 2.x.\nThere are a few implementations of Python 3 (all of which also support Python 2):\n\nCPython, the standard implementation written in C.\nPyPy, a JIT-compiled version written in RPython (a subset of Python).\nIronPython, a C# implementation that runs on the .NET environment.\nNuitka, a Python 3 to C 11 transpiler.\nJython, a Java implementation is also available, however it only supports Python 2.",
            "thumbnail": null,
            "description": "general-purpose programming language"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:36.818Z",
        "request_id": "c7e78947-8fed-429d-ae04-72a78edfed7c"
    },
    "status": "ok",
    "message": "Book retrieved",
    "success": true
}