Duaer

入门

在 Duaer 里查英国议会法案

在 Duaer 里:英国议会:按标题关键词与议院检索法案,按最近更新排序,含当前阶段与下次审议日期。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「英国议会法案」:英国议会:按标题关键词与议院检索法案,按最近更新排序,含当前阶段与下次审议日期。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 英国议会法案,或打开 数据市场。相关:英国议会议员、美国国会法案。

适合做什么

  • 跟踪下议院正在审议的能源法案。
  • 查看上议院目前在审哪些法案。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → UK Parliament bills。
  2. 填 Words(如 energy);House(commons 或 lords)可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/uk-bills?words=energy
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-uk-bills
description: >-
  Duaer UK Parliament bills. UK Parliament: bills by title words and house, newest update first, with the current stage and next sitting.
  One successful search uses 1 Duaer credit.
---

# Duaer UK Parliament bills

Duaer UK Parliament bills lists bills from the UK Parliament Bills API, most recently updated first. Each row says whether the bill is in progress, an Act, defeated, or withdrawn, with its current stage.

## When to use

- Follow energy bills moving through the House of Commons.
- See which bills the House of Lords is working on now.

## When not to use

- US bills. Use https://skills.duaer.com/congress-bills.md.
- Members of Parliament. Use https://skills.duaer.com/uk-mps.md.

## Call

`GET https://api.duaer.com/v1/data/uk-bills?words=energy`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `words` or `house`.

- `words` — Words in the bill title, such as energy.
- `house` — Optional. `commons` or `lords`: the house the bill is in now.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/uk-bills?words=energy` — recently updated bills about energy.
- `GET https://api.duaer.com/v1/data/uk-bills?house=lords` — bills now in the House of Lords.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `billId`, `status` — bill number and In progress, Act, Defeated, or Withdrawn.
- `stage`, `stageHouse`, `nextSitting` — current stage, its house, and the next sitting date.
- `currentHouse`, `originatingHouse`, `lastUpdate` — where the bill is, where it started, and the last change.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/uk-mps.md — Duaer UK Parliament members
- https://skills.duaer.com/congress-bills.md — Duaer US Congress bills

常见问题

Duaer 的英国议会法案检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 英国议会法案的 status 有哪些?

In progress 表示仍在审议,Act 表示已获御准成为法律,Defeated 表示被否决,Withdrawn 表示已撤回。

同组