Overview
Articles are the numbered provisions within each regulation. Useclient.articles() to list, fetch, and iterate articles for any framework.
Methods
list(String frameworkSlug)
Returns the first page of articles for a framework.
Page<ArticleSummary>
list(String frameworkSlug, int page, int perPage)
Fetch a specific page with custom page size.
| Parameter | Type | Default | Description |
|---|---|---|---|
frameworkSlug | String | required | Framework slug, e.g. "gdpr" |
page | int | 1 | Page number (1-indexed) |
perPage | int | 20 | Items per page (max 100) |
Page<ArticleSummary>
get()
Fetch full detail for a single article including all paragraphs.
| Parameter | Type | Description |
|---|---|---|
frameworkSlug | String | Framework slug |
articleNumber | String | Article number, e.g. "17" or "17a" |
Article
related()
Fetch articles related to a given article (cross-references).
Page<ArticleSummary>
iter()
Lazily iterate all articles for a framework.
Iterable<ArticleSummary>
Models
ArticleSummary
Returned by list(), related(), and iter().
| Field | Type | Description |
|---|---|---|
id() | int | Internal numeric ID |
number() | String | Article number, e.g. "17" |
title() | String | Article title |
frameworkSlug() | String | Parent framework slug |
paragraphCount() | int | Number of paragraphs |
Article
Returned by get(). Includes all ArticleSummary fields plus:
| Field | Type | Description |
|---|---|---|
paragraphs() | List<ArticleParagraph> | All paragraphs of the article |
tags() | List<String> | Associated compliance tags |
ArticleParagraph
| Field | Type | Description |
|---|---|---|
reference() | String | Paragraph reference, e.g. "1", "1(a)" |
text() | String | Full paragraph text |
