group_list 應用程式介面
開發者可以透過group_list
應用程式介面取得所有資料集的分類。
例如,要取得英文網站中的所有分類, 可作以下請求:
https://data.gov.hk/tc-data/api/3/action/group_list
以下是應用程式介面所回傳的例子:
{
"help": "Return a list of the names of the site’s groups.\n\n …,
"success": true,
"result": [
"city-management",
"climate-and-weather",
"commerce-and-industry",
"development",
"education",
"employment-and-labour",
"environment",
…
]
}