UK Parliament CLI — search bills, divisions, members, and written questions from official UK Parliament APIs, with stable JSON envelopes for agents. Use when...
UK Parliament CLI — search bills, divisions, members, and written questions from official UK Parliament APIs, with stable JSON envelopes for agents. Use when...
shan8851
未分类clawhubv0.1.01 版本100000Key: 无需
★ 0
Stars
📥 338
下载
💾 0
安装
1
版本
#latest
概述
parliament-cli
Use parliament for UK Parliament data: bills, members, divisions/votes, and written questions.
Setup
npm install -g @shan8851/parliament-cli
No API key or auth required
Bills
By id: parliament bill 3973
By title: parliament bill "renters rights"
Search: parliament search bills "energy"
Divisions and Votes
Search divisions: parliament divisions "budget"
Lookup by id: parliament divisions 2211
Alias: parliament votes 2211
Members
By name: parliament member "Keir Starmer"
By id: parliament member 4514
Written Questions
Search: parliament questions "transport"
Lookup by id or UIN query: parliament questions 902178
Output
Defaults to text in a TTY and JSON when piped
Force JSON: parliament bill 3973 --json
Success envelope: { ok, schemaVersion, command, requestedAt, data }