group_show 應用程式介面

開發者可以透過group_show應用程式介面取得特定分類的資料集。

https://data.gov.hk/tc-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 ""