de_get_text
Retrieve the full text of German federal legislation by ELI identifier in HTML or XML format. Directly access official legal texts from NeuRIS.
Instructions
Fetch the full text of an act.
Resolves the manifestation from the act's encoding array (the contentUrl
for the requested format) and downloads it. Format is selected by file
extension upstream, not by Accept header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eli | Yes | ELI of the act (expression level recommended). | |
| format | No | ``"html"`` or ``"xml"`` (LegalDocML.de). | html |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| content | No | ||
| eli_uri | Yes | ||
| byte_size | No | ||
| source_url | Yes | ||
| content_type | No | ||
| dataset_note | No | NeuRIS is a beta service and its dataset is not yet complete. For exhaustive research cross-check gesetze-im-internet.de / rechtsprechung-im-internet.de. | |
| human_readable_citation | No |