group_show 应用程式介面

开发者可以透过group_show应用程式介面取得特定分类的资料集。

https://data.gov.hk/en-data/api/3/action/group_show?id=[group_id]

例如,当我们想取得简体中文网站中所有分类为「environment」的资料集及其诠释资料,可作以下请求: https://data.gov.hk/sc-data/api/3/action/group_show?id=environment

以下是应用程式介面所回传的例子:

{
    "help": "Return the details of a group.\n\n …",
    "success": true,
    "result": {
         …
        "packages": [
            {
                "license_title": null,
                "maintainer": "一般查询 (电话) 或 咪嘥嘢 (电邮)",
                "state": "active",
                …
            },  …
        ], …
    }
}

results matching ""

    No results matching ""