Latvia Law

v0.1.0
io.github.pipeworx-io/latvia-law Checked 22 hours ago Published 23 hours ago

Latvia law -- Likumi.lv, the legal-acts portal run by the official publisher Latvijas Vēstnesis.…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lv_law_get

Fetch one Latvian legal act by id from lv_law_search (e.g. "300099" for the Personal Data Processing Law). Returns title, status, issuer, type, adoption and in-force dates, Latvijas Vēstnesis publication reference, and the current consolidated text in Latvian. Pass article (e.g. "3" or "16_1" for article 16 superscript 1) for one article only; without it the text is capped at max_chars with a contents list. The consolidated text is informative: the official publication prevails.

ParameterTypeDescription
id *stringNumeric act id from lv_law_search, e.g. "300099"
articlestringArticle (pants) number, e.g. "3", "16_1" or "16.1" for article 16 superscript 1
max_charsnumberCap on returned text when no article is given (default 20000, max 100000)