group_list 应用程式介面
开发者可以透过group_list
应用程式介面取得所有资料集的分类。
例如,要取得英文网站中的所有分类, 可作以下请求:
https://data.gov.hk/en-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",
…
]
}