Skip to main content

Overview

Articles are the primary normative units of each EU regulation. Each article belongs to one framework and may contain multiple numbered paragraphs. Articles can also be tagged and cross-referenced to related articles.

Methods

list()

Returns a page of article summaries for a framework.
Parameters Returns Promise<Page<ArticleSummary>>

get()

Fetch the full content of a single article including all paragraphs.
Parameters Returns Promise<Article>
Fetch articles related to a given article (cross-references and thematic links).
Parameters Returns Promise<Page<ArticleSummary>>

iter()

Iterate over all articles in a framework without managing pagination.
Parameters — same options as list() (except frameworkSlug is the first positional argument and page is managed internally). Returns AsyncGenerator<ArticleSummary>

Models

ArticleSummary

Returned by list(), related(), and iter().

Article

Returned by get(). Extends ArticleSummary with:

ArticleParagraph


Example: find all articles tagged “data-breach”