group_show API
To list all datasets available under a specific category, the group_show
API can be used.
For example, to list all dataset under the the environment category in Simplified Chinese:
https://data.gov.hk/sc-data/api/3/action/group_show?id=[group_id]
The returned JSON will look similar to:
{
"help": "Return the details of a group.\n\n …",
"success": true,
"result": {
…
"packages": [
{
"license_title": null,
"maintainer": "一般查询 (电话) 或 咪嘥嘢 (电邮)",
"state": "active",
…
}, …
], …
}
}