Documentation Index
Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Recitals are the preamble paragraphs of EU legislation. They provide interpretive context for the articles that follow and are often cited when explaining the intent behind a legal requirement. Each recital belongs to one framework.Methods
list()
Returns a page of recitals for a framework.
| Parameter | Type | Default | Description |
|---|---|---|---|
framework_slug | str | required | Framework slug, e.g. "gdpr" |
page | int | 1 | Page number |
per_page | int | 20 | Items per page (1–100) |
Page[Recital]
get()
Fetch a single recital by its number.
| Parameter | Type | Description |
|---|---|---|
framework_slug | str | Framework slug |
recital_number | int | Recital number within the framework |
Recital
iter()
Iterate over all recitals in a framework across all pages.
list() (except page).
Returns Iterator[Recital]
Model
Recital
| Field | Type | Description |
|---|---|---|
id | int | Internal numeric ID |
framework_slug | str | Parent framework slug |
recital_number | int | Recital number within the framework |
content | str | Full text of the recital |
position | int | Ordering position in the framework |
Examples
Print all GDPR recitals
Search recital text for a keyword
Fetch a specific recital
Count recitals per framework
Recitals are numbered sequentially within each framework. Recital numbers are stable and match the official EUR-Lex publication.
