Twinkle HubTwinkle Hub

英國 國會法案搜尋 (bills.parliament.uk)

uk_search_bills

🇬🇧 영국읽기 전용

關鍵字 / Keywords: 英國 國會 法案 搜尋 立法 議會 UK parliament bills legislation search commons lords act reading stage royal assent

Scope: UK Parliament · bills across current + historic sessions.

Search parliamentary bills by title keyword. The UK twin of TW's tw_search_bills (LY 議案).

Args: query: search term matched against bill titles. current_only: True → only bills in the current session. limit: max results (default 20, cap 50).

Returns dict with data: [{bill_id, title, current_house, stage, last_update, is_act, url}, ...]. Feed bill_id into uk_get_bill for stages + sponsors.

License: OGL v3 + Parliamentary Copyright.

파라미터

이름타입설명
querystring
current_onlyboolean
limitinteger
원본 JSON schema
{
  "properties": {
    "query": {
      "default": "",
      "title": "Query",
      "type": "string"
    },
    "current_only": {
      "default": false,
      "title": "Current Only",
      "type": "boolean"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "uk_search_billsArguments",
  "type": "object"
}

호출 방법

스타터 — 파라미터는 위 표 참조
uk_search_bills({ query: "…" })