odnelazm-cli-1.0.0-beta.6 is not a library.
odnelazm-cli
Run the odnelazm web scraper and parser from the command line.
Installation
Global flags
| Flag | Description |
|---|---|
-l, --log-level |
Set log verbosity: off, error, warn, info, debug, trace (default: info) |
archive
Archival Hansard data from info.mzalendo.com.
archive list
Browse available sittings with optional filtering and pagination.
| Flag | Description |
|---|---|
--start-date YYYY-MM-DD |
Filter sittings from this date onwards |
--end-date YYYY-MM-DD |
Filter sittings up to this date |
--house senate|national_assembly|na |
Filter by house |
--limit N |
Maximum number of results to return |
--offset N |
Number of results to skip |
-o, --output text|json |
Output format (default: text) |
|
archive sitting
Fetch the full transcript of a sitting including sections, contributions, and procedural notes.
| Flag | Description |
|---|---|
--fetch-speakers |
Fetch full profile for each speaker (makes additional requests) |
-o, --output text|json |
Output format (default: text) |
current
Up to date Hansard data from mzalendo.com/democracy-tools.
current sittings
List available sittings, paged or all at once.
| Flag | Description |
|---|---|
--page N |
Page number to fetch (default: 1) |
--all |
Fetch all pages at once (conflicts with --page) |
--house senate|national_assembly|na |
Filter by house |
-o, --output text|json |
Output format (default: text) |
current sitting
Fetch the full transcript of a sitting.
| Flag | Description |
|---|---|
-o, --output text|json |
Output format (default: text) |
current members
List members of parliament.
| Flag | Description |
|---|---|
--page N |
Page number (default: 1) |
--all |
Fetch all pages at once (conflicts with --page) |
-o, --output text|json |
Output format (default: text) |
current all-members
List all members from both houses in parallel for a given parliament session.
| Flag | Description |
|---|---|
[parliament] |
Parliament session (default: 13th-parliament) |
-o, --output text|json |
Output format (default: text) |
current profile
Fetch a member's full profile including speeches, bills, and voting record.
| Flag | Description |
|---|---|
--all-activity |
Fetch all pages of parliamentary activity |
--all-bills |
Fetch all pages of sponsored bills |
-o, --output text|json |
Output format (default: text) |